[libvirt] [PATCH 06/15] qemu: replace exec hook with virCommandSetUID/GID in qemuCaps*
Daniel P. Berrange
berrange at redhat.com
Fri Feb 8 16:19:28 UTC 2013
On Thu, Feb 07, 2013 at 04:37:47PM -0500, Laine Stump wrote:
> Setting the uid/gid of the child process was the only thing done by
> the hook function in this case, and that can now be done more simply
> with virCommandSetUID/GID.
> ---
> src/qemu/qemu_capabilities.c | 61 +++++++++++---------------------------------
> 1 file changed, 15 insertions(+), 46 deletions(-)
ACK, this is the kind of nice benefit we get from good apis :-)
Daniel
--
|: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org -o- http://virt-manager.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|
More information about the libvir-list
mailing list