summaryrefslogtreecommitdiffstats
path: root/hw/virtio-net.c
diff options
context:
space:
mode:
authorStefan Hajnoczi2012-07-24 17:35:15 +0200
committerStefan Hajnoczi2012-08-01 14:32:10 +0200
commitb20c6b9e47772b9162ed194e7b2884afa6a354ab (patch)
tree7827d1ba84853dec69db02efa5500b19c7764c70 /hw/virtio-net.c
parentnet: Rename vc local variables to nc (diff)
downloadqemu-b20c6b9e47772b9162ed194e7b2884afa6a354ab.tar.gz
qemu-b20c6b9e47772b9162ed194e7b2884afa6a354ab.tar.xz
qemu-b20c6b9e47772b9162ed194e7b2884afa6a354ab.zip
net: Rename qemu_del_vlan_client() to qemu_del_net_client()
Another step in moving the vlan feature out of net core. Users only deal with NetClientState and therefore qemu_del_vlan_client() should be named qemu_del_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 'hw/virtio-net.c')
-rw-r--r--hw/virtio-net.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/virtio-net.c b/hw/virtio-net.c
index a83eadef92..b1998b27d3 100644
--- a/hw/virtio-net.c
+++ b/hw/virtio-net.c
@@ -1077,6 +1077,6 @@ void virtio_net_exit(VirtIODevice *vdev)
qemu_bh_delete(n->tx_bh);
}
- qemu_del_vlan_client(&n->nic->nc);
+ qemu_del_net_client(&n->nic->nc);
virtio_cleanup(&n->vdev);
}