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/tap.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'net/tap.h') diff --git a/net/tap.h b/net/tap.h index 19dea58dc5..113906fc1b 100644 --- a/net/tap.h +++ b/net/tap.h @@ -33,7 +33,7 @@ #define DEFAULT_NETWORK_DOWN_SCRIPT "/etc/qemu-ifdown" int net_init_tap(const NetClientOptions *opts, const char *name, - VLANState *vlan); + VLANClientState *peer); int tap_open(char *ifname, int ifname_size, int *vnet_hdr, int vnet_hdr_required); @@ -59,6 +59,6 @@ struct vhost_net; struct vhost_net *tap_get_vhost_net(VLANClientState *vc); int net_init_bridge(const NetClientOptions *opts, const char *name, - VLANState *vlan); + VLANClientState *peer); #endif /* QEMU_NET_TAP_H */ -- cgit v1.2.3