[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [et-mgmt-tools] [PATCH] virt-manager: specify 'model' attr when adding net device



On Mon, Jan 19, 2009 at 11:40:15AM -0500, Cole Robinson wrote:
> The attached patch allows specifying a device model when adding a
> network device to an existing VM (ex. 'virtio', 'e1000', 'pcnet', etc.
> depending on the emulator).
> 
> A screenshot of the new UI:
> 
> http://fedorapeople.org/~crobinso/virt-manager/vmm-net-model.png
This is very useful!

> +            mod_list = [ "rtl8139", "ne2k_pci", "pcnet" ]
> +            if self.vm.get_type().lower() == "kvm":
> +                mod_list.append("e1000")
> +                mod_list.append("virtio")
It would be nice if this type of information (available sound card
emulations, available network card emulations) would be exposed by
libvirt so not all management app do have to keep track of it.
Cheers,
 -- Guido


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]