net: intorduce qemu_del_nic()
commit948ecf219c032e3483b35ba4e162e5eee17d8b77
authorJason Wang <jasowang@redhat.com>
Wed, 30 Jan 2013 11:12:24 +0000 (30 19:12 +0800)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 1 Feb 2013 17:03:01 +0000 (1 11:03 -0600)
tree610f53d9ed92e5154057a4040a44d3d05c971020
parentcc1f0f45425d0cca41ad421623f92bebc93a21a9
net: intorduce qemu_del_nic()

To support multiqueue nic, this patch separate the nic destructor from
qemu_del_net_client() to a new helper qemu_del_nic() since the mapping bettween
NiCState and NetClientState were not 1:1 in multiqueue. The following patches
would refactor this function to support multiqueue nic.

Signed-off-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/e1000.c
hw/eepro100.c
hw/ne2000.c
hw/pcnet-pci.c
hw/rtl8139.c
hw/usb/dev-network.c
hw/virtio-net.c
hw/xen_nic.c
include/net/net.h
net/net.c