could not hot-remove disabled NIC from Win2012 guest by 'devel_del id1'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
QEMU |
Expired
|
Undecided
|
Unassigned |
Bug Description
# qemu-latest-
-chardev socket,
-monitor stdio /images/
-device virtio-
-device e1000,netdev=
-device rtl8139,
-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-
Could not reproduce this problem with Vmware + win2012 guest.
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