QEmu 1.7.0 cannot restore a 1.6.0 live snapshot made in qemu-system-x86_64
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
QEMU |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
I have upgraded to QEmu 1.7.0 (Debian 1.7.0+dfsg-2) but now when I try to restore a live snapshot made in QEmu 1.6.0 (Debian 1.6.0+dfsg-1) I see that the VM boots from scratch instead of starting directly in the snapshot's running state.
Furthermore if the VM is already running and I try to revert to the snapshot again I get the following message:
$ virsh --connect qemu:///system snapshot-revert fgtbbuild wtb; echo $?
error: operation failed: Error -22 while loading VM state
1
I have test VMs with live snapshots corresponding to different testing configurations. So I typically revert the VMs in one of the live snapshots and run the tests. It would be pretty annoying to have to recreate all these live snapshots any time I upgrade QEmu bug it looks like I'll have to do it again.
This all sounds very much like bug 1123975 where QEmu 1.3 broke compatibility with previous versions live snapshots :-(
Here is the command being run by libvirt:
/usr/bin/
ipxe-qemu 1.0.0+git-
qemu 1.7.0+dfsg-2
qemu-keymaps 1.7.0+dfsg-2
qemu-slof 20130430+dfsg-1
qemu-system 1.7.0+dfsg-2
qemu-system-arm 1.7.0+dfsg-2
qemu-system-common 1.7.0+dfsg-2
qemu-system-mips 1.7.0+dfsg-2
qemu-system-misc 1.7.0+dfsg-2
qemu-system-ppc 1.7.0+dfsg-2
qemu-system-sparc 1.7.0+dfsg-2
qemu-system-x86 1.7.0+dfsg-2
qemu-user 1.7.0+dfsg-2
qemu-utils 1.7.0+dfsg-2
libvirt-bin 1.1.4-2
libvirt0 1.1.4-2
libvirtodbc0 6.1.6+dfsg-4
Hi Francois, libvirt/ qemu/machinenam e.log) I see:
I've managed to reproduce this, in my log file (/var/log/
Unknown ramblock "0000:02. 0/qxl.vram" , cannot accept migration
qemu: warning: error while loading state for instance 0x0 of device 'ram'
qemu-system-x86_64: Error -22 while loading VM state
do you also see that unknown ramblock warning?
(I'm running on F20 using 1.6.0 and 1.7.0 qemu's built from source running minimal F20 guests)
Dave