summaryrefslogtreecommitdiffstats
path: root/qga
diff options
context:
space:
mode:
authorStefan Hajnoczi2020-03-23 12:04:08 +0100
committerMichael Roth2020-03-24 17:32:19 +0100
commit7b46aadbbfb7b06cd45a3b113b1f7c003c68f603 (patch)
treea5639b11d38e264df738c9539feed949e40fdc4f /qga
parentqga: Fix undefined C behavior (diff)
downloadqemu-7b46aadbbfb7b06cd45a3b113b1f7c003c68f603.tar.gz
qemu-7b46aadbbfb7b06cd45a3b113b1f7c003c68f603.tar.xz
qemu-7b46aadbbfb7b06cd45a3b113b1f7c003c68f603.zip
qemu-ga: document vsock-listen in the man page
Although qemu-ga has supported vsock since 2016 it was not documented on the man page. Also add the socket address representation to the qga --help output. Fixes: 586ef5dee77180fc32e33bc08051600030630239 ("qga: add vsock-listen method") Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Stefano Garzarella <sgarzare@redhat.com> Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Diffstat (limited to 'qga')
-rw-r--r--qga/main.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/qga/main.c b/qga/main.c
index 8ee2736f8e..f0e454f28d 100644
--- a/qga/main.c
+++ b/qga/main.c
@@ -234,7 +234,9 @@ QEMU_COPYRIGHT "\n"
" -p, --path device/socket path (the default for virtio-serial is:\n"
" %s,\n"
" the default for isa-serial is:\n"
-" %s)\n"
+" %s).\n"
+" Socket addresses for vsock-listen are written as\n"
+" <cid>:<port>.\n"
" -l, --logfile set logfile path, logs to stderr by default\n"
" -f, --pidfile specify pidfile (default is %s)\n"
#ifdef CONFIG_FSFREEZE