Description of problem:
I create a VM using virsh create, and then I save the image using virsh save. When I try to use virsh restore, I get an error:
error: Failed to restore domain from /aml/images/pr104.img
error: internal error Timed out while reading monitor startup output
/var/log/messages had the following error message:
error : qemudReadMonitorOutput:827 : internal error Timed out while reading monitor startup output
I will attach the /var/log/libvirt/qemu/pr104.log file.
Version-Release number of selected component (if applicable):
fedora 12 beta
libvirt version 0.7.1
qemu-kvm version 0.11.0
all the time.
Steps to Reproduce:
1. virsh create on some xml file.
2. virsh save image
3. virsh restore image
virsh times out and the restore fails
the image to be restored to memory.
Created attachment 368449 [details]
log for the vm in /var/log/libvirt/qemu
*** Bug 533306 has been marked as a duplicate of this bug. ***
I created a workaround for this bug by editing /etc/libvirt/qemu.conf and uncommenting the lines "user = "root"" and "group = "root"".
Fixing product since this is reporting Fedora RPM version.
Created attachment 369015 [details]
Fix save & restore with unprivileged guests, and SELinux
When running qemu:///system instance, libvirtd runs as root, but QEMU may
optionally be configured to run non-root. When then saving a guest to a state
file, the file is initially created as root, and thus QEMU cannot write to it.
It is also missing labelling required to allow access via SELinux. This patch
fixes those issues.
See also bug #532654
libvirt-0.7.1-16.fc12 has been submitted as an update for Fedora 12.
libvirt-0.7.1-16.fc12 has been pushed to the Fedora 12 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
su -c 'yum --enablerepo=updates-testing update libvirt'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/libvirt-0.7.1-16.fc12
libvirt-0.7.1-16.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report.