summary refs log tree commit diff stats
path: root/results/classifier/zero-shot/118/unknown/1185311
blob: 1796e1933e62591c793a0e50d9122435ec9385ad (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
register: 0.870
device: 0.869
semantic: 0.854
peripherals: 0.854
permissions: 0.849
hypervisor: 0.849
virtual: 0.846
assembly: 0.845
PID: 0.844
socket: 0.842
debug: 0.841
graphic: 0.838
ppc: 0.837
kernel: 0.837
architecture: 0.836
arm: 0.835
performance: 0.834
vnc: 0.830
risc-v: 0.824
user-level: 0.822
KVM: 0.821
network: 0.818
files: 0.817
mistranslation: 0.815
VMM: 0.810
boot: 0.805
TCG: 0.805
x86: 0.797
i386: 0.786

could not hot-remove disabled NIC from Win2012 guest by 'devel_del id1'

# 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.

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


hot-remove an enabled 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
 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
pciej write 8 <== 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


Triaging old bug tickets... can you still reproduce this issue with the latest version of QEMU? Or could we close this ticket nowadays?

[Expired for QEMU because there has been no activity for 60 days.]