[libvirt] save/ restore a domain with kvm

Zvi Dubitzky DUBI at il.ibm.com
Sun Mar 22 18:04:17 UTC 2009

I am working with virsh 

The version of  VIRSH as it shows is :
virsh # version
Compiled against library: libvir 0.4.4
Using library: libvir 0.4.4
Using API: QEMU 0.4.4
Running hypervisor: QEMU 0.9.1

Under virsh  I do the following :
1.  suspend a running VM 
2. save it to a file  with the 'save' command 
3. restore the saved domain file  with the 'restore' command while the 
domain is still in the suspend mode
    or after it was shutdown/destroyed (not seen with 'list --all)
    In either case I get the error message  saying :

   virsh # restore /home/dubi/xml/vm_dubi2.sav
  libvir: QEMU error : operation failed: failed to start VM
  error: Failed to restore domain from /home/dubi/xml/vm_dubi2.xml

Any idea what is the failure reason  ?

The content of the saved domain file isattached:

Zvi Dubitzky 
Virtualization and System Architecture   Email:dubi at il.ibm.com
IBM Haifa Research Laboratory    Phone: +972-4-8296182
Haifa, 31905, ISRAEL 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: vm_dubi2.sav
Type: application/octet-stream
Size: 1210 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20090322/2a8882ff/attachment-0001.obj>

More information about the libvir-list mailing list