]> git.ipfire.org Git - thirdparty/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)
committerCole Robinson <crobinso@redhat.com>
Fri, 15 Jun 2012 14:58:24 +0000 (10:58 -0400)
commitb0200c81ec3e27416a305bdd0f3b8d263fa92cb8
tree7d1c24ad0748e3ae575fbdc23270894f8a484580
parent8213166b92f735582bd5311bc32f1a4a59122aa1
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>
(cherry picked from commit 10c31135f321851f02ad1985684389a42f6f5e54)
src/xenxs/xen_sxpr.c
src/xenxs/xen_xm.c