qemu with hax to log dma reads & writes jcs.org/2018/11/12/vfio

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>

authored by

Stefan Hajnoczi and committed by
Michael Roth
7b46aadb a23f38a7

+6 -3
+3 -2
docs/interop/qemu-ga.rst
··· 36 36 .. option:: -m, --method=METHOD 37 37 38 38 Transport method: one of ``unix-listen``, ``virtio-serial``, or 39 - ``isa-serial`` (``virtio-serial`` is the default). 39 + ``isa-serial``, or ``vsock-listen`` (``virtio-serial`` is the default). 40 40 41 41 .. option:: -p, --path=PATH 42 42 43 43 Device/socket path (the default for virtio-serial is 44 44 ``/dev/virtio-ports/org.qemu.guest_agent.0``, 45 - the default for isa-serial is ``/dev/ttyS0``) 45 + the default for isa-serial is ``/dev/ttyS0``). Socket addresses for 46 + vsock-listen are written as ``<cid>:<port>``. 46 47 47 48 .. option:: -l, --logfile=PATH 48 49
+3 -1
qga/main.c
··· 234 234 " -p, --path device/socket path (the default for virtio-serial is:\n" 235 235 " %s,\n" 236 236 " the default for isa-serial is:\n" 237 - " %s)\n" 237 + " %s).\n" 238 + " Socket addresses for vsock-listen are written as\n" 239 + " <cid>:<port>.\n" 238 240 " -l, --logfile set logfile path, logs to stderr by default\n" 239 241 " -f, --pidfile specify pidfile (default is %s)\n" 240 242 #ifdef CONFIG_FSFREEZE