qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 0/2] qga: systemd socket activation for AF_UNIX and


From: Stefan Hajnoczi
Subject: [Qemu-devel] [PATCH 0/2] qga: systemd socket activation for AF_UNIX and AF_VSOCK
Date: Thu, 5 Jan 2017 17:31:05 +0000

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]