After restoring i8254, the f->buf_index points to a wrong place. It should be caused by loading i8254. best regards yang > -----Original Message----- > From: kvm-owner@xxxxxxxxxxxxxxx [mailto:kvm-owner@xxxxxxxxxxxxxxx] On > Behalf Of Jan Kiszka > Sent: Friday, March 02, 2012 4:48 PM > To: Ren, Yongjie > Cc: Avi Kivity; KVM list > Subject: Re: can't restore a guest saved by an older qemu > > On 2012-03-02 07:33, Ren, Yongjie wrote: > > Hi Avi, > > I can't restore a guest saved by an older qemu. I wonder if this issue is > introduced by some latest commits on the file 'hw/i8254.c'. > > The new commit: b5ed4b6f (on Mar 1) I tried to restore a guest using this > qemu. > > The old commit: 9d636ae7 (on Feb 11) I saved a guest using this qemu. > > > > I got some error when restoring a guest saved by an old qemu now. > > [root@vt-nhm9 jay]# qemu-system-x86_64 -smp 4 -m 1024 -hda rhel6u1.qcow > -incoming "exec:dd if=save.img" > > Could not open option rom 'vapic.bin': No such file or directory > > qemu-system-x86_64: pci_add_option_rom: failed to find romfile > "pxe-rtl8139.rom" > > VNC server running on `::1:5900' > > Unknown ramblock "0000:00:03.0/rtl8139.rom", cannot accept migration > > qemu: warning: error while loading state for instance 0x0 of device 'ram' > > load of migration failed > > Confirmed. I get a different error, but something is broken here as well. > Bisecting... > > Thanks, > Jan > > -- > Siemens AG, Corporate Technology, CT T DE IT 1 Corporate Competence Center > Embedded Linux > -- > 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 -- 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