Qemu-kvm tree has already fixed this issue: commit 4cf3e6f3d85492f20a773dd6c9068ab89ba24a18 Author: Alex Williamson <alex.williamson@xxxxxxxxxx> Date: Wed Jun 2 10:58:29 2010 -0600 acpi_piix4: save gpe and pci hotplug slot status PCI hotplug currently doesn't work after a migration because we don't migrate the enable bits of the GPE state. Pull hotplug structs into vmstate. Signed-off-by: Alex Williamson <alex.williamson@xxxxxxxxxx> Signed-off-by: Anthony Liguori <aliguori@xxxxxxxxxx> Hunter Pitelka wrote: > Hi, > > I'm trying to resume a VM from a migration and hotplug a PCI > device, however I can't get it working. PCI hotplugging after > booting the guest works fine, but if I migrate the guest, I can no > longer hotplug. I'm using qemu/kvm out of the ubuntu 10.4 > repositories. I am > migrating using `migrate "exec: dd of=statefile.dd"` and resuming with > -incoming "exec: dd if=statefile.dd" on the command line. The pci_add > command I"m running is > `pci_add auto storage file=file.img,if=scsi,media=disk,snapshot=off` > Which reports 'OK' always, but running `lspci` in the guest after a > migration shows no new devices. > I've been banging my head against the wall about this for a while > now, so any help is appreciated. Thanks. > > ~Hunter Thanks, Xudong-- 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