[libvirt] [PATCH]execute netdev_del after receive DEVICE_DELETED event

2014-03-27 Thread x00221466
Hi, When live detaching the virtual net device, such as virtio nic、 RTL8139、E1000, there are some problems: (1)If the Guest OS don't support the hot plugging pci device, detach the virtual network device by Libvirt, the "net device" in Qemu will still exist, but "hostnet"(tap) in Qemu will be rem

[libvirt] [libivrt][RFC]Send "netdev_del" command after receive the DEVICE_DELETED event

2014-03-25 Thread x00221466
Hi all: There maybe a bug about detaching virtual net device(such as virtio nic、 RTL8138、E1000)。 When live detaching the net device, there are some problems: (1)If the Guest OS don't support the hot plugging pci device, detach the virtual network device by Libvirt, the "net device" in Qemu will s