]> xenbits.xensource.com Git - libvirt.git/commit
xen: do not use ioemu type for any emulated NIC
authorStefan Bader <stefan.bader@canonical.com>
Fri, 13 Apr 2012 13:14:56 +0000 (15:14 +0200)
committerEric Blake <eblake@redhat.com>
Tue, 17 Apr 2012 04:20:31 +0000 (22:20 -0600)
commit10c31135f321851f02ad1985684389a42f6f5e54
tree3d478c1f00a9c1026702cbf01fe65fa2d6203e55
parentbfc22645fc62b5f94dafbcbac00fc9236955baaf
xen: do not use ioemu type for any emulated NIC

When using the xm/xend stack to manage instances there is a bug
that causes the emulated interfaces to be unusable when the vif
config contains type=ioemu.

The current code already has a special quirk to not use this
keyword if no specific model is given for the emulated NIC
(defaulting to rtl8139).
Essentially it works because regardless of the type argument,i
the Xen stack always creates emulated and paravirt interfaces and
lets the guest decide which one to use. So neither xl nor xm stack
actually require the type keyword for emulated NICs.

Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
src/xenxs/xen_sxpr.c
src/xenxs/xen_xm.c