[pve-devel] virtiodisk ordering bug in current implementation + proposal for new qemu device syntax

Alexandre DERUMIER aderumier at odiso.com
Mon Aug 29 11:48:15 CEST 2011


ok, I understand your point of view.

I think 6 virtio and 6 nics is a good value.


Do you want I start write code on this basis ? 
I can do code for new device syntax + hotplug, if it can help you.

(i'm sure you are very busy with all other parts of proxmox2 ;)




----- Mail original -----

De: "Dietmar Maurer" <dietmar at proxmox.com>
À: "Alexandre DERUMIER" <aderumier at odiso.com>
Cc: pve-devel at pve.proxmox.com
Envoyé: Lundi 29 Août 2011 10:21:36
Objet: RE: virtiodisk ordering bug in current implementation + proposal for new qemu device syntax

> maybe,
> can we defined a default config file with by exemple 5 disk and 5 nics devices-
> slot mapping

I want to avoid any additional configuration, because I want to keep it simple.

> and if some advanced users want to have more disk, or more nics, they can just
> edit the file and add new mapping ?

I assume that we can use the pci-to-pci' bridge soon. So we can simply map additional
device to the second bus.

> so maxvirtiodisk and maxnic are just a count from this configfile ?

I want to avoid new configuration option by all means. At least until you
show me that it is really required.

Having more than 6 network or disk devices is not the primary use case anyways? And it
would also be possible to use multifunction devices in future (not all users want
hotplug) for users who want a large number of network devices.

> about libvirt, is a little different, in libvirt config xml, you defined all controllers
> with pci slot addres, and add disks on controller.
>
> something like that
>
> <balloon controlelr addr=0x1>
> <audio controller addr=0x2>
> <virtio controller 1 addr=0x3>
> <disk name="virtio1" .....>
> </virtio>
> <nic device1 addr=0x4>
> <scsi controller 1 addr=0x5>
> <disk name⁼"scsi1" ...>
> <disk name='scsi2" ...>
> </scsi>
>
>
> they are not predefined mapping.
>
> so you can add the number disk or nic or other devices you want,and map them
> as you want, the only limit is the 31 pci slots.

OK, thanks.

- Dietmar



--

--





	Alexandre Derumier
Ingénieur système
e-mail : aderumier at odiso.com
Tél : +33 (0)3 20 68 88 90
Fax : +33 (0)3 20 68 90 81
45 Bvd du Général Leclerc
59100 ROUBAIX - FRANCE













-------------- next part --------------
A non-text attachment was scrubbed...
Name: aderumier.vcf
Type: text/x-vcard
Size: 183 bytes
Desc: not available
URL: <http://pve.proxmox.com/cgi-bin/mailman/private/pve-devel/attachments/20110829/9102dc4d/attachment.vcf>


More information about the pve-devel mailing list