summaryrefslogtreecommitdiffstats
path: root/net/vde.c
diff options
context:
space:
mode:
authorStefan Hajnoczi2012-07-24 17:35:08 +0200
committerStefan Hajnoczi2012-08-01 13:28:51 +0200
commitab5f3f84c4362c3014b1ecdb450f430d01b96f19 (patch)
treed57587556fd2a32ea6ac20e249d9b408318cff01 /net/vde.c
parenthub: Check that hubs are configured correctly (diff)
downloadqemu-ab5f3f84c4362c3014b1ecdb450f430d01b96f19.tar.gz
qemu-ab5f3f84c4362c3014b1ecdb450f430d01b96f19.tar.xz
qemu-ab5f3f84c4362c3014b1ecdb450f430d01b96f19.zip
net: Drop vlan argument to qemu_new_net_client()
Since hubs are now used to implement the 'vlan' feature and the vlan argument is always NULL, remove the argument entirely and update all net clients that use qemu_new_net_client(). Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> Signed-off-by: Zhi Yong Wu <wuzhy@linux.vnet.ibm.com> Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Diffstat (limited to 'net/vde.c')
-rw-r--r--net/vde.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/vde.c b/net/vde.c
index 302a022753..a1480d7016 100644
--- a/net/vde.c
+++ b/net/vde.c
@@ -96,7 +96,7 @@ static int net_vde_init(VLANClientState *peer, const char *model,
return -1;
}
- nc = qemu_new_net_client(&net_vde_info, NULL, peer, model, name);
+ nc = qemu_new_net_client(&net_vde_info, peer, model, name);
snprintf(nc->info_str, sizeof(nc->info_str), "sock=%s,fd=%d",
sock, vde_datafd(vde));