hot-remove a disabled nic: (qemu) device_del id1 irq: -120008472, level :1, pmsts: 1 acpi_pm_tmr_update: bool :0 (qemu) gpe read 0 == 2 irq: -120008472, level :1, pmsts: 0 acpi_pm_tmr_update: bool :0 irq: -120008472, level :0, pmsts: 0 acpi_pm_tmr_update: bool :0 gpe write 2 <== 0 irq: -120008472, level :0, pmsts: 0 acpi_pm_tmr_update: bool :0 gpe write 3 <== 0 irq: -120008472, level :0, pmsts: 0 acpi_pm_tmr_update: bool :0 gpe read 0 == 2 irq: -120008472, level :0, pmsts: 0 acpi_pm_tmr_update: bool :0 gpe write 0 <== 2 gpe read 1 == 0 irq: -120008472, level :0, pmsts: 0 acpi_pm_tmr_update: bool :0 irq: -120008472, level :0, pmsts: 0 acpi_pm_tmr_update: bool :0 gpe write 2 <== 253 irq: -120008472, level :0, pmsts: 0 acpi_pm_tmr_update: bool :0 gpe write 3 <== 255 pci_up_read 38 pci_down_read 8 ... ... pci_up_read 38 pci_down_read 8 irq: -120008472, level :0, pmsts: 0 acpi_pm_tmr_update: bool :0 gpe write 2 <== 255 irq: -120008472, level :0, pmsts: 0 acpi_pm_tmr_update: bool :0 gpe write 3 <== 255
-- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1185311 Title: could not hot-remove disabled NIC from Win2012 guest by 'devel_del id1' Status in QEMU: New Bug description: # qemu-latest-upstream -mon chardev=qmp,mode=control,pretty=on \ -chardev socket,id=qmp,host=localhost,port=1234,server,nowait -vnc :0 \ -monitor stdio /images/win2012-64-virtio.qcow2 \ -device virtio-net-pci,netdev=ndev1,id=id1 -netdev tap,id=ndev1 \ -device e1000,netdev=ndev2,id=id2 -netdev tap,id=ndev2 \ -device rtl8139,netdev=ndev3,id=id3 -netdev tap,id=ndev3 \ -smp 4 -m 3000 -usbdevice tablet If disable nic in guest's "Network Connections" panel, nic could not be hot-removed through qemu monitor. 1) if disable nic in guest (qemu) devel_del id1 (nic still in "Network Connections". if enable nic, nic can work) (qemu) devel_del id1 (qemu) devel_del id1 2) if enable nic in guest (qemu) devel_del id1 (nic will be removed, disappear from "Network Connections") (qemu) devel_del id1 Device 'id1' not found Could not reproduced this problem with all linux guests & other Windows guests Problem exists with virtio-nic/e1000/rtl8139, it seems the problem of pci-hotplug in piix4. Could not reproduce this problem with Vmware + win2012 guest. To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1185311/+subscriptions