Created attachment 361440 [details]
Log file of the guest when the restoration fails
Description of problem:
I'm having a problem with the latest libvirt (0.7.1). Restoration of a saved state doesn't seems to work.
I use the gzip compression, but have also tried other compressed format without success.
I also run my guests as root, as there's another problem with the saved file when running unprivileged.
I first run a virsh save command (my guest is called "xp"):
[root@virt ~] LANG=C_ALL virsh save xp /tmp/xp.state
Domain xp saved to /tmp/xp.state
The saved file seems correct:
ll -h /tmp/xp.state
rw------- 1 root root 36M sep 17 09:30 /tmp/xp.state
Then, I try to restore my guest from this file:
[root@virt ~] LANG=C_ALL virsh restore /tmp/xp.state
error: Failed to restore domain from /tmp/xp.state
error: internal error Timed out while reading monitor startup output
You'll find attached to this bug the XML definition of the guest, the log file /var/log/libvirt/qemu/xp.log when the restoration fails and the log of libvirt daemon in debug mode
Version-Release number of selected component (if applicable):
I'm running CentOS 5.3 x86_64 fully updated.
libvirt 0.7.1, recompiled from the srpm (http://libvirt.org/sources/libvirt-0.7.1-1.fc11.src.rpm) with the following argument:
rpmbuild --rebuild --without xen --without xen-proxy --without lxc --without vbox --without esx --without phyp --without one --without avahi --without openvz --without uml --without storage-mpath libvirt-0.7.1-1.fc11.src.rpm
(from lfarkas repository)
Always, I wasn't able to restore a guest from a saved state in 0.7.1
Steps to Reproduce:
1. save a guest state to a file using virsh save guest /file
2. try to restore the guest from the file using virsh restore /file
The guest stay stoped
I have set Selinux to permissive, to be sure the problem is not related to it
Created attachment 361442 [details]
XML definition of the guest
Created attachment 361443 [details]
Libvirt daemon log in debug mode while saving and trying to restore the guest
This bugs seems corrected in libvirt 0.7.2 (I think it's this fix: