diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2017-02-04 10:03:17 +0000 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2017-02-16 15:30:45 +0100 |
commit | a721f53b8f6a30fdc2b6e9fca13ec6c2d762b996 (patch) | |
tree | fd16c92d396465444058815adf765f689f61c861 /Makefile | |
parent | 41eeb0e601cbc7ac28fa35547d2426f349ef137d (diff) | |
download | qemu-a721f53b8f6a30fdc2b6e9fca13ec6c2d762b996.zip qemu-a721f53b8f6a30fdc2b6e9fca13ec6c2d762b996.tar.gz qemu-a721f53b8f6a30fdc2b6e9fca13ec6c2d762b996.tar.bz2 |
qemu-nbd: Implement socket activation.
Socket activation (sometimes known as systemd socket activation)
allows an Internet superserver to pass a pre-opened listening socket
to the process, instead of having qemu-nbd open a socket itself. This
is done via the LISTEN_FDS and LISTEN_PID environment variables, and a
standard file descriptor range.
This change partially implements socket activation for qemu-nbd. If
the environment variables are set correctly, then socket activation
will happen automatically, otherwise everything works as before. The
limitation is that LISTEN_FDS must be 1.
Signed-off-by: Richard W.M. Jones <rjones@redhat.com>
Message-Id: <20170204100317.32425-2-rjones@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions