[libvirt] [PATCH v3 7/9] util: add virCommandPassListenFDs() function

Daniel P. Berrange berrange at redhat.com
Wed Aug 13 15:04:30 UTC 2014


On Wed, Jul 23, 2014 at 04:27:11PM +0200, Martin Kletzander wrote:
> That sets a new flag, but that flag does mean the child will get
> LISTEN_FDS and LISTEN_PID environment variables properly set and
> passed FDs reordered so that it corresponds with LISTEN_FDS (they must
> start right after STDERR_FILENO).
> 
> Signed-off-by: Martin Kletzander <mkletzan at redhat.com>
> ---
>  src/libvirt_private.syms     |  1 +
>  src/util/vircommand.c        | 99 ++++++++++++++++++++++++++++++++++++++++++++
>  src/util/vircommand.h        |  4 +-
>  tests/commanddata/test24.log |  7 ++++
>  tests/commandtest.c          | 56 +++++++++++++++++++++++++
>  5 files changed, 166 insertions(+), 1 deletion(-)
>  create mode 100644 tests/commanddata/test24.log

ACK


Regards,
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