All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/2] qga: systemd socket activation for AF_UNIX and AF_VSOCK
@ 2017-01-05 17:31 Stefan Hajnoczi
  2017-01-05 17:31 ` [Qemu-devel] [PATCH 1/2] configure: add libsystemd check Stefan Hajnoczi
  2017-01-05 17:31 ` [Qemu-devel] [PATCH 2/2] qga: add systemd socket activation support Stefan Hajnoczi
  0 siblings, 2 replies; 5+ messages in thread
From: Stefan Hajnoczi @ 2017-01-05 17:31 UTC (permalink / raw)
  To: qemu-devel; +Cc: Michael Roth, Stefan Hajnoczi

These patches add optional systemd socket activation support to the QEMU guest
agent.  The listen socket is created by systemd.  qemu-ga is only launched when
the first client connects and the listen fd is passed in.  The guest agent
detects socket activation automatically on startup.  There are no new
command-line options.

I wrote this code to test systemd AF_VSOCK socket activation but it also works
with AF_UNIX.

Stefan Hajnoczi (2):
  configure: add libsystemd check
  qga: add systemd socket activation support

 configure           | 34 +++++++++++++++++++++++++++
 qga/Makefile.objs   |  3 +++
 qga/channel.h       |  3 ++-
 qga/channel-posix.c | 66 ++++++++++++++++++++++++++++++-----------------------
 qga/channel-win32.c |  2 +-
 qga/main.c          | 45 ++++++++++++++++++++++++++++++++----
 6 files changed, 118 insertions(+), 35 deletions(-)

-- 
2.9.3

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-01-06 12:59 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-05 17:31 [Qemu-devel] [PATCH 0/2] qga: systemd socket activation for AF_UNIX and AF_VSOCK Stefan Hajnoczi
2017-01-05 17:31 ` [Qemu-devel] [PATCH 1/2] configure: add libsystemd check Stefan Hajnoczi
2017-01-05 17:45   ` Daniel P. Berrange
2017-01-06 12:59     ` Stefan Hajnoczi
2017-01-05 17:31 ` [Qemu-devel] [PATCH 2/2] qga: add systemd socket activation support Stefan Hajnoczi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.