diff options
author | Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> | 2011-10-06 11:24:12 +0100 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> | 2011-10-14 14:36:03 +0100 |
commit | 3a846906c9c31e01efc0ce0cde39124ec9acb252 (patch) | |
tree | 1c080c364e173d953fd66a4a9b4f016efba5fb5e /qemu-options.hx | |
parent | ebffe2afceb1a17b5d134b5debf553955fe5ea1a (diff) | |
download | qemu-3a846906c9c31e01efc0ce0cde39124ec9acb252.zip qemu-3a846906c9c31e01efc0ce0cde39124ec9acb252.tar.gz qemu-3a846906c9c31e01efc0ce0cde39124ec9acb252.tar.bz2 |
qemu-options: avoid #if in spicevmc texi help
Preprocessor directives cannot be used in STEXI/ETEXI sections since
they are not passed through the preprocessor. The spicevmc chardev
option help currently uses #if, which is included verbatim in the man
page output.
Fix this by simply stating that spicevmc chardevs are available only in
builds with spice support.
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Diffstat (limited to 'qemu-options.hx')
-rw-r--r-- | qemu-options.hx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qemu-options.hx b/qemu-options.hx index dfbabd0..d4fe990 100644 --- a/qemu-options.hx +++ b/qemu-options.hx @@ -1673,15 +1673,15 @@ Connect to a local parallel port. @option{path} specifies the path to the parallel port device. @option{path} is required. -#if defined(CONFIG_SPICE) @item -chardev spicevmc ,id=@var{id} ,debug=@var{debug}, name=@var{name} +@option{spicevmc} is only available when spice support is built in. + @option{debug} debug level for spicevmc @option{name} name of spice channel to connect to Connect to a spice virtual machine channel, such as vdiport. -#endif @end table ETEXI |