qga: systemd socket activation for AF_UNIX and AF_VSOCK
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | configure: add libsystemd checkconfigure | +34 | 2 replies | |
| 2/2 | qga: add systemd socket activation supportqga/ qga/ qga/ +2 more | +84 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [Qemu-devel] [PATCH 0/2] qga: systemd socket activation for AF_UNIX and AF_VSOCK
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(-)
Signature · 1 line
2.9.3