xemu/net
mst@redhat.com 5430a28fe4 vhost: force vhost off for non-MSI guests
When MSI is off, each interrupt needs to be bounced through the io
thread when it's set/cleared, so vhost-net causes more context switches and
higher CPU utilization than userspace virtio which handles networking in
the same thread.

We'll need to fix this by adding level irq support in kvm irqfd,
for now disable vhost-net in these configurations.

Added a vhostforce flag to force vhost-net back on.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2011-02-01 16:50:44 -06:00
..
checksum.c net: move net-checksum.c under net/ 2009-10-30 08:39:26 -05:00
checksum.h net: move net-checksum.c under net/ 2009-10-30 08:39:26 -05:00
dump.c error: Replace qemu_error() by error_report() 2010-03-16 16:58:32 +01:00
dump.h net: move dump backend code from net.c to net/dump.c 2009-12-03 09:41:28 -06:00
queue.c net/queue: queue packets even if sender doesn't supply a callback 2009-11-09 08:43:02 -06:00
queue.h
slirp.c error: Replace qemu_error() by error_report() 2010-03-16 16:58:32 +01:00
slirp.h net: move slirp code from net.c to net/slirp.c 2009-12-03 09:41:27 -06:00
socket.c Fix warning on mingw32 2010-12-17 21:03:00 +00:00
socket.h net: move socket backend code from net.c to net/socket.c 2009-12-03 09:41:28 -06:00
tap-aix.c tap: add APIs for vnet header length 2010-09-07 20:27:33 +03:00
tap-bsd.c Add support for OpenBSD to QEMU's tap driver. 2010-12-21 19:44:33 +00:00
tap-haiku.c tap: Add stub for Haiku 2010-10-03 06:31:41 +00:00
tap-linux.c tap: safe sndbuf default 2011-02-01 16:50:44 -06:00
tap-linux.h tap: add APIs for vnet header length 2010-09-07 20:27:33 +03:00
tap-solaris.c tap: add APIs for vnet header length 2010-09-07 20:27:33 +03:00
tap-win32.c Delete write only variables 2010-10-13 18:41:29 +00:00
tap.c vhost: force vhost off for non-MSI guests 2011-02-01 16:50:44 -06:00
tap.h tap: add APIs for vnet header length 2010-09-07 20:27:33 +03:00
util.c net: move parse_macaddr() to net/util.[ch] 2009-12-03 09:41:34 -06:00
util.h net: move parse_macaddr() to net/util.[ch] 2009-12-03 09:41:34 -06:00
vde.c net: Fix bogus "Warning: vlan 0 with no nics" with -device 2010-02-19 12:12:46 -06:00
vde.h net: move vde code from net.c to net/vde.c 2009-12-03 09:41:28 -06:00