qemu-options.hx: Remove confusing spaces in parameter listings

The spaces between the parameters in the chardev and tpmdev sections
are rather confusing than helpful, and prevent that the lists can be
copy-n-pasted easily for real usage. We also don't use such spaces
in other sections in the documentation, e.g. with the -netdev option,
so let's be consistent and remove the spaces in the chardev and tpmdev
sections, too.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Reviewed-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
Thomas Huth 2018-01-30 10:36:21 +01:00 committed by Michael Tokarev
parent 57bf554cf4
commit 16fdc56a69
1 changed files with 24 additions and 24 deletions

View File

@ -2522,7 +2522,7 @@ STEXI
The general form of a character device option is: The general form of a character device option is:
@table @option @table @option
@item -chardev @var{backend} ,id=@var{id} [,mux=on|off] [,@var{options}] @item -chardev @var{backend},id=@var{id}[,mux=on|off][,@var{options}]
@findex -chardev @findex -chardev
Backend is one of: Backend is one of:
@option{null}, @option{null},
@ -2541,7 +2541,7 @@ Backend is one of:
@option{tty}, @option{tty},
@option{parallel}, @option{parallel},
@option{parport}, @option{parport},
@option{spicevmc}. @option{spicevmc},
@option{spiceport}. @option{spiceport}.
The specific backend will determine the applicable options. The specific backend will determine the applicable options.
@ -2605,11 +2605,11 @@ opened.
The available backends are: The available backends are:
@table @option @table @option
@item -chardev null ,id=@var{id} @item -chardev null,id=@var{id}
A void device. This device will not emit any data, and will drop any data it A void device. This device will not emit any data, and will drop any data it
receives. The null backend does not take any options. receives. The null backend does not take any options.
@item -chardev socket ,id=@var{id} [@var{TCP options} or @var{unix options}] [,server] [,nowait] [,telnet] [,reconnect=@var{seconds}] [,tls-creds=@var{id}] @item -chardev socket,id=@var{id}[,@var{TCP options} or @var{unix options}][,server][,nowait][,telnet][,reconnect=@var{seconds}][,tls-creds=@var{id}]
Create a two-way stream socket, which can be either a TCP or a unix socket. A Create a two-way stream socket, which can be either a TCP or a unix socket. A
unix socket will be created if @option{path} is specified. Behaviour is unix socket will be created if @option{path} is specified. Behaviour is
@ -2636,7 +2636,7 @@ TCP and unix socket options are given below:
@table @option @table @option
@item TCP options: port=@var{port} [,host=@var{host}] [,to=@var{to}] [,ipv4] [,ipv6] [,nodelay] @item TCP options: port=@var{port}[,host=@var{host}][,to=@var{to}][,ipv4][,ipv6][,nodelay]
@option{host} for a listening socket specifies the local address to be bound. @option{host} for a listening socket specifies the local address to be bound.
For a connecting socket species the remote host to connect to. @option{host} is For a connecting socket species the remote host to connect to. @option{host} is
@ -2664,7 +2664,7 @@ required.
@end table @end table
@item -chardev udp ,id=@var{id} [,host=@var{host}] ,port=@var{port} [,localaddr=@var{localaddr}] [,localport=@var{localport}] [,ipv4] [,ipv6] @item -chardev udp,id=@var{id}[,host=@var{host}],port=@var{port}[,localaddr=@var{localaddr}][,localport=@var{localport}][,ipv4][,ipv6]
Sends all traffic from the guest to a remote host over UDP. Sends all traffic from the guest to a remote host over UDP.
@ -2683,12 +2683,12 @@ available local port will be used.
@option{ipv4} and @option{ipv6} specify that either IPv4 or IPv6 must be used. @option{ipv4} and @option{ipv6} specify that either IPv4 or IPv6 must be used.
If neither is specified the device may use either protocol. If neither is specified the device may use either protocol.
@item -chardev msmouse ,id=@var{id} @item -chardev msmouse,id=@var{id}
Forward QEMU's emulated msmouse events to the guest. @option{msmouse} does not Forward QEMU's emulated msmouse events to the guest. @option{msmouse} does not
take any options. take any options.
@item -chardev vc ,id=@var{id} [[,width=@var{width}] [,height=@var{height}]] [[,cols=@var{cols}] [,rows=@var{rows}]] @item -chardev vc,id=@var{id}[[,width=@var{width}][,height=@var{height}]][[,cols=@var{cols}][,rows=@var{rows}]]
Connect to a QEMU text console. @option{vc} may optionally be given a specific Connect to a QEMU text console. @option{vc} may optionally be given a specific
size. size.
@ -2699,12 +2699,12 @@ the console, in pixels.
@option{cols} and @option{rows} specify that the console be sized to fit a text @option{cols} and @option{rows} specify that the console be sized to fit a text
console with the given dimensions. console with the given dimensions.
@item -chardev ringbuf ,id=@var{id} [,size=@var{size}] @item -chardev ringbuf,id=@var{id}[,size=@var{size}]
Create a ring buffer with fixed size @option{size}. Create a ring buffer with fixed size @option{size}.
@var{size} must be a power of two and defaults to @code{64K}. @var{size} must be a power of two and defaults to @code{64K}.
@item -chardev file ,id=@var{id} ,path=@var{path} @item -chardev file,id=@var{id},path=@var{path}
Log all traffic received from the guest to a file. Log all traffic received from the guest to a file.
@ -2712,7 +2712,7 @@ Log all traffic received from the guest to a file.
created if it does not already exist, and overwritten if it does. @option{path} created if it does not already exist, and overwritten if it does. @option{path}
is required. is required.
@item -chardev pipe ,id=@var{id} ,path=@var{path} @item -chardev pipe,id=@var{id},path=@var{path}
Create a two-way connection to the guest. The behaviour differs slightly between Create a two-way connection to the guest. The behaviour differs slightly between
Windows hosts and other hosts: Windows hosts and other hosts:
@ -2729,14 +2729,14 @@ be present.
@option{path} forms part of the pipe path as described above. @option{path} is @option{path} forms part of the pipe path as described above. @option{path} is
required. required.
@item -chardev console ,id=@var{id} @item -chardev console,id=@var{id}
Send traffic from the guest to QEMU's standard output. @option{console} does not Send traffic from the guest to QEMU's standard output. @option{console} does not
take any options. take any options.
@option{console} is only available on Windows hosts. @option{console} is only available on Windows hosts.
@item -chardev serial ,id=@var{id} ,path=@option{path} @item -chardev serial,id=@var{id},path=@option{path}
Send traffic from the guest to a serial device on the host. Send traffic from the guest to a serial device on the host.
@ -2745,33 +2745,33 @@ not only serial lines.
@option{path} specifies the name of the serial device to open. @option{path} specifies the name of the serial device to open.
@item -chardev pty ,id=@var{id} @item -chardev pty,id=@var{id}
Create a new pseudo-terminal on the host and connect to it. @option{pty} does Create a new pseudo-terminal on the host and connect to it. @option{pty} does
not take any options. not take any options.
@option{pty} is not available on Windows hosts. @option{pty} is not available on Windows hosts.
@item -chardev stdio ,id=@var{id} [,signal=on|off] @item -chardev stdio,id=@var{id}[,signal=on|off]
Connect to standard input and standard output of the QEMU process. Connect to standard input and standard output of the QEMU process.
@option{signal} controls if signals are enabled on the terminal, that includes @option{signal} controls if signals are enabled on the terminal, that includes
exiting QEMU with the key sequence @key{Control-c}. This option is enabled by exiting QEMU with the key sequence @key{Control-c}. This option is enabled by
default, use @option{signal=off} to disable it. default, use @option{signal=off} to disable it.
@item -chardev braille ,id=@var{id} @item -chardev braille,id=@var{id}
Connect to a local BrlAPI server. @option{braille} does not take any options. Connect to a local BrlAPI server. @option{braille} does not take any options.
@item -chardev tty ,id=@var{id} ,path=@var{path} @item -chardev tty,id=@var{id},path=@var{path}
@option{tty} is only available on Linux, Sun, FreeBSD, NetBSD, OpenBSD and @option{tty} is only available on Linux, Sun, FreeBSD, NetBSD, OpenBSD and
DragonFlyBSD hosts. It is an alias for @option{serial}. DragonFlyBSD hosts. It is an alias for @option{serial}.
@option{path} specifies the path to the tty. @option{path} is required. @option{path} specifies the path to the tty. @option{path} is required.
@item -chardev parallel ,id=@var{id} ,path=@var{path} @item -chardev parallel,id=@var{id},path=@var{path}
@itemx -chardev parport ,id=@var{id} ,path=@var{path} @itemx -chardev parport,id=@var{id},path=@var{path}
@option{parallel} is only available on Linux, FreeBSD and DragonFlyBSD hosts. @option{parallel} is only available on Linux, FreeBSD and DragonFlyBSD hosts.
@ -2780,7 +2780,7 @@ Connect to a local parallel port.
@option{path} specifies the path to the parallel port device. @option{path} is @option{path} specifies the path to the parallel port device. @option{path} is
required. required.
@item -chardev spicevmc ,id=@var{id} ,debug=@var{debug}, name=@var{name} @item -chardev spicevmc,id=@var{id},debug=@var{debug},name=@var{name}
@option{spicevmc} is only available when spice support is built in. @option{spicevmc} is only available when spice support is built in.
@ -2790,7 +2790,7 @@ required.
Connect to a spice virtual machine channel, such as vdiport. Connect to a spice virtual machine channel, such as vdiport.
@item -chardev spiceport ,id=@var{id} ,debug=@var{debug}, name=@var{name} @item -chardev spiceport,id=@var{id},debug=@var{debug},name=@var{name}
@option{spiceport} is only available when spice support is built in. @option{spiceport} is only available when spice support is built in.
@ -2898,7 +2898,7 @@ STEXI
The general form of a TPM device option is: The general form of a TPM device option is:
@table @option @table @option
@item -tpmdev @var{backend} ,id=@var{id} [,@var{options}] @item -tpmdev @var{backend},id=@var{id}[,@var{options}]
@findex -tpmdev @findex -tpmdev
The specific backend type will determine the applicable options. The specific backend type will determine the applicable options.
@ -2913,7 +2913,7 @@ The available backends are:
@table @option @table @option
@item -tpmdev passthrough, id=@var{id}, path=@var{path}, cancel-path=@var{cancel-path} @item -tpmdev passthrough,id=@var{id},path=@var{path},cancel-path=@var{cancel-path}
(Linux-host only) Enable access to the host's TPM using the passthrough (Linux-host only) Enable access to the host's TPM using the passthrough
driver. driver.
@ -2950,7 +2950,7 @@ To create a passthrough TPM use the following two options:
Note that the @code{-tpmdev} id is @code{tpm0} and is referenced by Note that the @code{-tpmdev} id is @code{tpm0} and is referenced by
@code{tpmdev=tpm0} in the device option. @code{tpmdev=tpm0} in the device option.
@item -tpmdev emulator, id=@var{id}, chardev=@var{dev} @item -tpmdev emulator,id=@var{id},chardev=@var{dev}
(Linux-host only) Enable access to a TPM emulator using Unix domain socket based (Linux-host only) Enable access to a TPM emulator using Unix domain socket based
chardev backend. chardev backend.