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

Liu Yuan namei.unix at gmail.com
Mon Jun 24 14:18:00 CEST 2013


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.

Thanks,
Yuan






More information about the sheepdog mailing list