Hi, Public bug reported:
I want to repeated hot-plug/unplug the virtio-net in the latest qemu upstream (commit 839a5547574e57cce62f49bfc50fe1f04b00589a), but I am failed at the second time hot plug the virtio-net to guest. Then I tried to use Qemu-2.0.0 release version, but I got the error too. Cmdline for vm: /mnt/sdb/gonglei/qemu/x86_64-softmmu/qemu-system-x86_64 -enable-kvm -m 4096 -smp 4 -name sles-et-boot c -drive file=/mnt/sdb/gonglei/image/ sles-3.img -vnc 0.0.0.0:10 -monitor stdio QEMU 1.7.50 monitor - type 'help' for more information (qemu) device_add virtio-net-pci,id=net1 (qemu) device_del net1 (qemu) device_add virtio-net-pci,id=net1 Duplicate ID 'net1' for device (qemu) Through the git bisect, I found the first bad commit is: commit 306ec6c3cece7004429c79c1ac93d49919f1f1cc Author: Andreas F?¤rber <afaer...@suse.de> Date: Tue Jul 30 03:50:44 2013 +0200 virtio: Convert exit to unrealize Signed-off-by: Andreas F?¤rber <afaer...@suse.de> Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> Best regards, -Gonglei