device: 0.152 other: 0.115 semantic: 0.114 PID: 0.095 graphic: 0.082 performance: 0.068 debug: 0.066 files: 0.060 vnc: 0.054 network: 0.050 socket: 0.045 permissions: 0.041 boot: 0.035 KVM: 0.022 debug: 0.527 device: 0.163 network: 0.058 files: 0.054 KVM: 0.036 PID: 0.035 socket: 0.030 other: 0.024 semantic: 0.017 performance: 0.015 permissions: 0.012 vnc: 0.011 boot: 0.009 graphic: 0.009 [Qemu-devel] [BUG] vhost-user: hot-unplug vhost-user nic for windows guest OS will fail with 100% reproduce rate Hi, guys I met a problem when hot-unplug vhost-user nic for Windows 2008 rc2 sp1 64 (Guest OS) The xml of nic is as followed:
Firstly, I use virsh attach-device win2008 vif.xml to hot-plug a nic for Guest OS. This operation returns success. After guest OS discover nic successfully, I use virsh detach-device win2008 vif.xml to hot-unplug it. This operation will fail with 100% reproduce rate. However, if I hot-plug and hot-unplug virtio-net nic , it will not fail. I have analysis the process of qmp_device_del , I found that qemu have inject interrupt to acpi to let it notice guest OS to remove nic. I guess there is something wrong in Windows when handle the interrupt.