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
dump.h
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
tap-aix.c
tap-bsd.c
tap-linux.c
tap-linux.h
tap-solaris.c
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
util.h
vde.c net: Fix bogus "Warning: vlan 0 with no nics" with -device 2010-02-19 12:12:46 -06:00
vde.h