qemu-e2k/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
checksum.h
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
queue.h
slirp.c net: Fix bogus "Warning: vlan 0 with no nics" with -device 2010-02-19 12:12:46 -06:00
slirp.h
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
tap-bsd.c
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
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
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