qemu/net
Markus Armbruster 62112d181c net: Fix bogus "Warning: vlan 0 with no nics" with -device
net_check_clients() prints this when an VLAN has host devices, but no
guest devices.  It uses VLANState members nb_guest_devs and
nb_host_devs to keep track of these devices.  However, -device does
not update nb_guest_devs, only net_init_nic() does that, for -net nic.

Check the VLAN clients directly, and remove the counters.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2010-02-19 12:12:46 -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 net: convert dump to NetClientInfo 2009-12-03 09:41:30 -06: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 net: move net-queue.[ch] under net/ 2009-10-30 08:39:26 -05:00
slirp.c net: Fix bogus "Warning: vlan 0 with no nics" with -device 2010-02-19 12:12:46 -06:00
slirp.h net: move slirp code from net.c to net/slirp.c 2009-12-03 09:41:27 -06:00
socket.c net: Fix bogus "Warning: vlan 0 with no nics" with -device 2010-02-19 12:12:46 -06: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 net: move UFO support detection to tap-linux.c 2009-10-30 08:39:29 -05:00
tap-bsd.c Add support for GNU/kFreeBSD 2009-11-29 18:00:41 +01:00
tap-linux.c net: check for TUNSETOFFLOAD support before trying to enable offload features 2009-12-03 09:41:35 -06:00
tap-linux.h Unbreak Linux build 2009-10-30 16:45:20 -05:00
tap-solaris.c tap: Compilation fix for Solaris 2009-12-13 14:28:14 +00:00
tap-win32.c net: Fix bogus "Warning: vlan 0 with no nics" with -device 2010-02-19 12:12:46 -06:00
tap.c net: Fix bogus "Warning: vlan 0 with no nics" with -device 2010-02-19 12:12:46 -06:00
tap.h net: move UFO support detection to tap-linux.c 2009-10-30 08:39:29 -05: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