From 359a5bcf78a89626ca9119668c0362f3b7bfe9c3 Mon Sep 17 00:00:00 2001 From: Stefan Hajnoczi Date: Wed, 21 Dec 2016 17:02:08 +0000 Subject: core: add AF_VSOCK support to socket units Accept AF_VSOCK listen addresses in socket unit files. Both guest and host can now take advantage of socket activation. The QEMU guest agent has recently been modified to support socket activation and can run over AF_VSOCK with this patch. --- man/systemd.socket.xml | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'man') diff --git a/man/systemd.socket.xml b/man/systemd.socket.xml index 0ce1203cfb..1d20a8f7f7 100644 --- a/man/systemd.socket.xml +++ b/man/systemd.socket.xml @@ -216,6 +216,14 @@ BindIPv6Only= setting (see below). + If the address string is a string in the format + vsock:x:y, it is read as CID x on + a port y address in the + AF_VSOCK family. The CID is a unique 32-bit + integer identifier in AF_VSOCK analogous to an IP + address. Specifying the CID is optional, and may be set to the empty + string. + Note that SOCK_SEQPACKET (i.e. ListenSequentialPacket=) is only available for AF_UNIX sockets. -- cgit v1.2.3-54-g00ecf