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>
Showing
- hw/e1000.c 1 addition, 1 deletionhw/e1000.c
- hw/eepro100.c 1 addition, 1 deletionhw/eepro100.c
- hw/ne2000.c 1 addition, 1 deletionhw/ne2000.c
- hw/pcnet-pci.c 1 addition, 1 deletionhw/pcnet-pci.c
- hw/rtl8139.c 1 addition, 1 deletionhw/rtl8139.c
- hw/usb/dev-network.c 1 addition, 1 deletionhw/usb/dev-network.c
- hw/virtio-net.c 1 addition, 1 deletionhw/virtio-net.c
- hw/xen_nic.c 1 addition, 1 deletionhw/xen_nic.c
- include/net/net.h 1 addition, 0 deletionsinclude/net/net.h
- net/net.c 14 additions, 1 deletionnet/net.c
Loading
Please register or sign in to comment