mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-25 12:40:08 +00:00
87c0868f46
The qemu-nbd documentation is currently in qemu-nbd.texi in Texinfo
format, which we present to the user as:
* a qemu-nbd manpage
* a section of the main qemu-doc HTML documentation
Convert the documentation to rST format, and present it to the user as:
* a qemu-nbd manpage
* part of the interop/ Sphinx manual
This follows the same pattern as commit 27a296fce9
did for the
qemu-ga manpage.
All the content of the old manpage is retained, except that I have
dropped the "This is free software; see the source for copying
conditions. There is NO warranty..." text that was in the old AUTHOR
section; Sphinx's manpage builder doesn't expect that much text in
the AUTHOR section, and since none of our other manpages have it it
seems easiest to delete it rather than try to figure out where else
in the manpage to put it.
The only other textual change is that I have had to give the
--nocache option its own description ("Equivalent to --cache=none")
because Sphinx doesn't have an equivalent of using item/itemx
to share a description between two options.
Some minor aspects of the formatting have changed, to suit what is
easiest for Sphinx to output. (The most notable is that Sphinx
option section option syntax doesn't support '--option foo=bar'
with bar underlined rather than bold, so we have to switch to
'--option foo=BAR' instead.)
The contents of qemu-option-trace.texi are now duplicated in
docs/interop/qemu-option-trace.rst.inc, until such time as we complete
the conversion of the other files which use it; since it has had only
3 changes in 3 years, this shouldn't be too awkward a burden.
(We use .rst.inc because if this file fragment has a .rst extension
then Sphinx complains about not seeing it in a toctree.)
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Eric Blake <eblake@redhat.com>
Tested-by: Alex Bennée <alex.bennee@linaro.org>
Acked-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 20200116141511.16849-2-peter.maydell@linaro.org
29 lines
1.1 KiB
Plaintext
29 lines
1.1 KiB
Plaintext
@c The contents of this file must be kept in sync with qemu-option-trace.rst.inc
|
|
@c until all the users of the texi file have been converted to rst and
|
|
@c the texi file can be removed.
|
|
|
|
Specify tracing options.
|
|
|
|
@table @option
|
|
@item [enable=]@var{pattern}
|
|
Immediately enable events matching @var{pattern}
|
|
(either event name or a globbing pattern). This option is only
|
|
available if QEMU has been compiled with the @var{simple}, @var{log}
|
|
or @var{ftrace} tracing backend. To specify multiple events or patterns,
|
|
specify the @option{-trace} option multiple times.
|
|
|
|
Use @code{-trace help} to print a list of names of trace points.
|
|
|
|
@item events=@var{file}
|
|
Immediately enable events listed in @var{file}.
|
|
The file must contain one event name (as listed in the @file{trace-events-all}
|
|
file) per line; globbing patterns are accepted too. This option is only
|
|
available if QEMU has been compiled with the @var{simple}, @var{log} or
|
|
@var{ftrace} tracing backend.
|
|
|
|
@item file=@var{file}
|
|
Log output traces to @var{file}.
|
|
This option is only available if QEMU has been compiled with
|
|
the @var{simple} tracing backend.
|
|
@end table
|