On Wed, Oct 06, 2010 at 12:40:00PM -0600, Pete Ashdown wrote:
I have 0.8.3 installed and my net devices are still being defined via
-net
rather than -netdev. I have found that using the latter allows my ethernet to
properly offload and gives a 35% performance gain. Looking through the
libvirt code I find in qemu_conf.c:
/* Possible combinations
*
* 1. Old way: -net nic,model=e1000,vlan=1 -net tap,vlan=1
* 2. Semi-new: -device e1000,vlan=1 -net tap,vlan=1
* 3. Best way: -netdev type=tap,id=netdev1 -device e1000,id=netdev1
*
* NB, no support for -netdev without use of -device
*/
How do I convince virsh/libvirt to use #3, the "Best way"?
This option remains disabled until QEMU 0.13 is released. We did briefly
enable it for QEMU 0.12.x, but then discovered that various aspects of it
are broken in that release, in particular hotplug/unplug.
Daniel
--
|: Red Hat, Engineering, London -o-
http://people.redhat.com/berrange/ :|
|:
http://libvirt.org -o-
http://virt-manager.org -o-
http://deltacloud.org :|
|:
http://autobuild.org -o-
http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505 -o- F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|