Re: [libvirt] [PATCH] Qemu fails to restore when guest has selinux static context

2014-04-23 Thread Shivaprasad bhat
Thanks Martin. I'll send out the v2 addressing your comments. Thanks and Regards, Shiva On Thu, Apr 17, 2014 at 7:50 PM, Martin Kletzander wrote: > On Tue, Apr 08, 2014 at 09:11:33AM -0400, Shivaprasad G Bhat wrote: >> >> The file handle passed from libvirt to qemu is not set to the context of >

Re: [libvirt] [PATCH] Qemu fails to restore when guest has selinux static context

2014-04-17 Thread Martin Kletzander
On Tue, Apr 08, 2014 at 09:11:33AM -0400, Shivaprasad G Bhat wrote: The file handle passed from libvirt to qemu is not set to the context of the guest. So, set the selinux context of fd before passing it to qemu Signed-off-by: Shivaprasad G Bhat --- src/qemu/qemu_driver.c |3 +++ 1 file chang

[libvirt] [PATCH] Qemu fails to restore when guest has selinux static context

2014-04-08 Thread Shivaprasad G Bhat
The file handle passed from libvirt to qemu is not set to the context of the guest. So, set the selinux context of fd before passing it to qemu Signed-off-by: Shivaprasad G Bhat --- src/qemu/qemu_driver.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/src/qemu/qemu_driver.c b/src/qemu/