[sheepdog] [PATCH] collie/farm: save vmstate objects during cluster-wide snapshot

Kai Zhang kyle at zelin.io
Mon Jun 24 16:16:59 CEST 2013


On Jun 24, 2013, at 8:18 PM, Liu Yuan <namei.unix at gmail.com> wrote:

> On 06/24/2013 02:04 PM, Kai Zhang wrote:
>> Without this patch, qemu's 'loadvm' command will fail after
>> loading cluster-wide snapshot to a new cluster.
> 
> Seems that this patch isn't well tested.
> 
> #before the save
> yliu at yliu-K55VM:~/sheepdog$ md5sum store/0/obj/407c2b2500000000
> 2657263030ea9bd6f54b273ad377a1eb  store/0/obj/407c2b2500000000
> #after load
> yliu at yliu-K55VM:~/sheepdog$ md5sum store/0/obj/407c2b2500000000
> 1d42bb5c3a6b47c2fc45019228f94a17  store/0/obj/407c2b2500000000
> 
> And
> yliu at yliu-K55VM:~/sheepdog$ ../qemu/x86_64-softmmu/qemu-system-x86_64 --enable-kvm -m 1024 -hda sheepdog:test -loadvm 1
> qemu-system-x86_64: Error -22 while loading VM state
> 
> The loadvm failed.
> 

I failed to reproduce this error in my environment.
And the patch can work fine on my ubuntu server.
Could you find some hints from the sheep.log?

Thanks,
Kyle




More information about the sheepdog mailing list