Created attachment 369012
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.
Created attachment 369012
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.
http:// www.redhat. com/archives/ libvir- list/2009- November/ msg00376. html