From d33d93b2c40b820c2cfab1e2e6da631f12091957 Mon Sep 17 00:00:00 2001 From: Stefan Hajnoczi Date: Tue, 24 Jul 2012 16:35:05 +0100 Subject: net: Use hubs for the vlan feature Stop using the special-case vlan code in net.c. Instead use the hub net client to implement the vlan feature. The next patch will remove vlan code from net.c completely. Signed-off-by: Stefan Hajnoczi Signed-off-by: Zhi Yong Wu Reviewed-by: Laszlo Ersek --- net/hub.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'net/hub.h') diff --git a/net/hub.h b/net/hub.h index f0d98f2bf6..a5fa2ba89c 100644 --- a/net/hub.h +++ b/net/hub.h @@ -18,7 +18,7 @@ #include "qemu-common.h" int net_init_hubport(const NetClientOptions *opts, const char *name, - VLANState *vlan); + VLANClientState *peer); VLANClientState *net_hub_add_port(int hub_id, const char *name); void net_hub_info(Monitor *mon); int net_hub_id_for_client(VLANClientState *nc, int *id); -- cgit v1.2.3