[libvirt] [PATCH ] (type ioem) adding qemu nic configuration option in to libvirt (XEN)

Daniel P. Berrange berrange at redhat.com
Thu Dec 4 22:07:59 UTC 2008


On Thu, Dec 04, 2008 at 09:50:01PM +0000, Gihan Munasinghe wrote:
> 
> <interface type='bridge' qemu='false'>

This is not suitable because it is adding attributes that are
specific to the Xen hypervisor.

>      <mac address='00:16:3e:00:a5:01'/>
>      <source bridge='eth0'/>
>      <target dev='vif1.0'/>
> </interface>

As I mentioned before this should be handled with the existing
XML <model> element.


  ...no model element...  -> Default QEMU nic + Paravirt Driver backend
  <model type='e1000'/>  -> Only QEMU's e1000 nic
  <model type='rtl8139'/>  -> Only QEMU's rtl8139 nic
  <model type='ne2k_pci'/>  -> Only QEMU's ne2k nic
  <model type='xen'/>       -> Only Paravirt driver backend


This doesn't allow us to have the PV driver + an explicit
choice of QEMU nics, but I don't think that's important.
If you're enabling PV drivers, you don't care about specific
QEMU nic types.


Daniel
-- 
|: Red Hat, Engineering, London   -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|




More information about the libvir-list mailing list