Hi all, I am using qemu-kvm recantly, version info: # kvm --version QEMU emulator version 1.1.2 (qemu-kvm-1.1.2+dfsg-2, Debian), Copyright (c) 2003-2008 Fabrice Bellard # virsh version Compiled against library: libvir 0.9.12 Using library: libvir 0.9.12 Using API: QEMU 0.9.12 Running hypervisor: QEMU 1.1.2 # uname -a (both the host and guest) Linux Debian 3.2.0-3-amd64 #1 SMP Thu Jun 28 09:07:26 UTC 2012 x86_64 GNU/Linux # cat /etc/issue (both the host and guest) Debian GNU/Linux wheezy/sid and I get into trouble when I attach detach a disk to a guest, libvirt give me this error message: unable to execute QEMU command 'device_add': Duplicate ID 'virtio-disk4' for device the steps I did: 1) attach a disk to a guest by virsh attach-device 2) wait for 1s 3) detach the disk by virsh detach-device 4) wait for 1s 5) repeat step 1~4 after doing these steps about 12hours, the "Duplicate ID" error occurs, if I don't run step 2&4, the error occurs at a short time. anyone can give me some clues? Thanks in advance! Best Regards Wangpan -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html