public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* loadvm: "Error -1 while loading VM state"
@ 2008-07-01 19:27 Slohm Gadaburi
  2008-07-01 20:47 ` Soren Hansen
  0 siblings, 1 reply; 5+ messages in thread
From: Slohm Gadaburi @ 2008-07-01 19:27 UTC (permalink / raw)
  To: kvm

Hi,

I can't get qemu/kvm to loadvm a saved state.

I use the official package that comes with Ubuntu 8.04.
The binary itself is called 'kvm', it is based on QEMU 0.9.1 (kvm-62).

The image is qcow2 (created with qemu-img create -f qcow2 guest.img 10G).

My monitor sequence looks like (while guest is running):

QEMU 0.9.1 monitor
(qemu) info snapshots
Snapshot devices: ide0-hd0
Snapshot list (from ide0-hd0):
ID  TAG  VM SIZE   DATE  VM CLOCK
(qemu) savevm 1
(qemu) info snapshots
Snapshot devices: ide0-hd0
Snapshot list (from ide0-hd0):
ID  TAG  VM SIZE   DATE  VM CLOCK
1    1        42M        2008-....<snip>...
(qemu) loadvm 1
Error -1 while loading VM state
(qemu)

If I quit the guest and I run "qemu-img info guest.img",
I can see the snapshot info. But If I start the guest with the command
"kvm -loadvm 1 guest.img", it fails to load the snapshot (same error
message), and just bootstrap the machine normally.

Any suggestions ?

Thanks,
Slohm.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-07-02  7:54 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-01 19:27 loadvm: "Error -1 while loading VM state" Slohm Gadaburi
2008-07-01 20:47 ` Soren Hansen
2008-07-02  7:31   ` Slohm Gadaburi
2008-07-02  7:38     ` Soren Hansen
2008-07-02  7:54       ` Slohm Gadaburi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox