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