diff options
author | Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> | 2012-07-24 16:35:08 +0100 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> | 2012-08-01 12:28:51 +0100 |
commit | ab5f3f84c4362c3014b1ecdb450f430d01b96f19 (patch) | |
tree | d57587556fd2a32ea6ac20e249d9b408318cff01 /net/tap.c | |
parent | 81017645e45bcb0b4d985e900c501f92f2c6fb60 (diff) | |
download | qemu-ab5f3f84c4362c3014b1ecdb450f430d01b96f19.tar.gz qemu-ab5f3f84c4362c3014b1ecdb450f430d01b96f19.tar.bz2 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/tap.c')
-rw-r--r-- | net/tap.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -331,7 +331,7 @@ static TAPState *net_tap_fd_init(VLANClientState *peer, VLANClientState *nc; TAPState *s; - nc = qemu_new_net_client(&net_tap_info, NULL, peer, model, name); + nc = qemu_new_net_client(&net_tap_info, peer, model, name); s = DO_UPCAST(TAPState, nc, nc); |