Re: [libvirt] [PATCH] chown kernel/initrd before spawning qemu

2009-08-06 Thread Daniel P. Berrange
On Thu, Aug 06, 2009 at 03:48:44PM +0100, Mark McLoughlin wrote: > If we're running qemu unprivileged, we need to chown any supplied kernel > or initrd before spawning it. > > * src/qemu_driver.c: rename qemuDomainSetDiskOwnership() to > qemuDomainSetFileOwnership(), pass it a path string instea

[libvirt] [PATCH] chown kernel/initrd before spawning qemu

2009-08-06 Thread Mark McLoughlin
If we're running qemu unprivileged, we need to chown any supplied kernel or initrd before spawning it. * src/qemu_driver.c: rename qemuDomainSetDiskOwnership() to qemuDomainSetFileOwnership(), pass it a path string instead of a disk definition and use it for chowning the kernel/initrd in qem