docs: add qemu-block-drivers(7) man page
PATCH v4 1/1 docs: add qemu-block-drivers(7) man page
Block driver documentation is available in qemu-doc.html. It would be convenient to have documentation for formats, protocols, and filter drivers in a man page.
Extract the relevant part of qemu-doc.html into a new file called docs/qemu-block-drivers.texi. This file can also be built as a stand-alone document (man, html, etc).
---
v2:
* Rebased latest on latest qemu-doc.texi
* Fixed build failure on macOS [Peter Maydell]
Makefile | 23 +- .gitignore | 3 + docs/qemu-block-drivers.texi | 799 +++++++++++++++++++++++++++++++++++++++++++ qemu-doc.texi | 781 +----------------------------------------- 4 files changed, 821 insertions(+), 785 deletions(-) create mode 100644 docs/qemu-block-drivers.texi
Makefile +18 -5
@@ -209,6 +209,9 @@ ifdef BUILD_DOCS DOCS=qemu-doc.html qemu-doc.txt qemu.1 qemu-img.1 qemu-nbd.8 qemu-ga.8 DOCS+=docs/interop/qemu-qmp-ref.html docs/interop/qemu-qmp-ref.txt docs/interop/qemu-qmp-ref.7 DOCS+=docs/interop/qemu-ga-ref.html docs/interop/qemu-ga-ref.txt docs/interop/qemu-ga-ref.7 +DOCS+=docs/qemu-block-drivers.html +DOCS+=docs/qemu-block-drivers.txt +DOCS+=docs/qemu-block-drivers.7 ifdef CONFIG_VIRTFS DOCS+=fsdev/virtfs-proxy-helper.1 endif
@@ -528,6 +531,8 @@ distclean: clean rm -f docs/interop/qemu-qmp-ref.txt docs/interop/qemu-ga-ref.txt rm -f docs/interop/qemu-qmp-ref.pdf docs/interop/qemu-ga-ref.pdf rm -f docs/interop/qemu-qmp-ref.html docs/interop/qemu-ga-ref.html + rm -f docs/qemu-block-drivers.7 docs/qemu-block-drivers.txt + rm -f docs/qemu-block-drivers.pdf docs/qemu-block-drivers.html for d in $(TARGET_DIRS); do \ rm -rf $$d || exit 1 ; \ done
@@ -568,11 +573,14 @@ install-doc: $(DOCS) $(INSTALL_DATA) qemu-doc.txt "$(DESTDIR)$(qemu_docdir)" $(INSTALL_DATA) docs/interop/qemu-qmp-ref.html "$(DESTDIR)$(qemu_docdir)" $(INSTALL_DATA) docs/interop/qemu-qmp-ref.txt "$(DESTDIR)$(qemu_docdir)" + $(INSTALL_DATA) docs/qemu-block-drivers.html "$(DESTDIR)$(qemu_docdir)" + $(INSTALL_DATA) docs/qemu-block-drivers.txt "$(DESTDIR)$(qemu_docdir)" ifdef CONFIG_POSIX $(INSTALL_DIR) "$(DESTDIR)$(mandir)/man1" $(INSTALL_DATA) qemu.1 "$(DESTDIR)$(mandir)/man1" $(INSTALL_DIR) "$(DESTDIR)$(mandir)/man7" $(INSTALL_DATA) docs/interop/qemu-qmp-ref.7 "$(DESTDIR)$(mandir)/man7" + $(INSTALL_DATA) docs/qemu-block-drivers.7 "$(DESTDIR)$(mandir)/man7" ifneq ($(TOOLS),) $(INSTALL_DATA) qemu-img.1 "$(DESTDIR)$(mandir)/man1" $(INSTALL_DIR) "$(DESTDIR)$(mandir)/man8"
@@ -719,15 +727,15 @@ fsdev/virtfs-proxy-helper.1: fsdev/virtfs-proxy-helper.texi qemu-nbd.8: qemu-nbd.texi qemu-option-trace.texi qemu-ga.8: qemu-ga.texi -html: qemu-doc.html docs/interop/qemu-qmp-ref.html docs/interop/qemu-ga-ref.html -info: qemu-doc.info docs/interop/qemu-qmp-ref.info docs/interop/qemu-ga-ref.info -pdf: qemu-doc.pdf docs/interop/qemu-qmp-ref.pdf docs/interop/qemu-ga-ref.pdf -txt: qemu-doc.txt docs/interop/qemu-qmp-ref.txt docs/interop/qemu-ga-ref.txt +html: qemu-doc.html docs/interop/qemu-qmp-ref.html docs/interop/qemu-ga-ref.html docs/qemu-block-drivers.html +info: qemu-doc.info docs/interop/qemu-qmp-ref.info docs/interop/qemu-ga-ref.info docs/qemu-block-drivers.info +pdf: qemu-doc.pdf docs/interop/qemu-qmp-ref.pdf docs/interop/qemu-ga-ref.pdf docs/qemu-block-drivers.pdf +txt: qemu-doc.txt docs/interop/qemu-qmp-ref.txt docs/interop/qemu-ga-ref.txt docs/qemu-block-drivers.txt qemu-doc.html qemu-doc.info qemu-doc.pdf qemu-doc.txt: \ qemu-img.texi qemu-nbd.texi qemu-options.texi qemu-option-trace.texi \ qemu-monitor.texi qemu-img-cmds.texi qemu-ga.texi \ - qemu-monitor-info.texi + qemu-monitor-info.texi docs/qemu-block-drivers.texi docs/interop/qemu-ga-ref.dvi docs/interop/qemu-ga-ref.html \ docs/interop/qemu-ga-ref.info docs/interop/qemu-ga-ref.pdf \
@@ -739,6 +747,11 @@ docs/interop/qemu-qmp-ref.dvi docs/interop/qemu-qmp-ref.html \ docs/interop/qemu-qmp-ref.txt docs/interop/qemu-qmp-ref.7: \ docs/interop/qemu-qmp-ref.texi docs/interop/qemu-qmp-qapi.texi +docs/qemu-block-drivers.dvi docs/qemu-block-drivers.html \ + docs/qemu-block-drivers.info docs/qemu-block-drivers.pdf \ + docs/qemu-block-drivers.txt docs/qemu-block-drivers.7: \ + docs/qemu-block-drivers.texi + ifdef CONFIG_WIN32
.gitignore +3 -0
@@ -108,6 +108,9 @@ /docs/interop/qemu-qmp-ref.html /docs/interop/qemu-qmp-ref.info* /docs/interop/qemu-qmp-ref.txt +/docs/qemu-block-drivers.html +/docs/qemu-block-drivers.info* +/docs/qemu-block-drivers.txt /docs/version.texi *.tps .stgit-*
docs/qemu-block-drivers.texi new file +799 -0
799 lines not on this page · raw message
qemu-doc.texi +1 -780
787 lines not on this page · raw message
Signature · 1 line
2.13.5
Am 04.09.2017 um 18:26 hat Stefan Hajnoczi geschrieben:
Quoted 9 lines
Block driver documentation is available in qemu-doc.html. It would be convenient to have documentation for formats, protocols, and filter drivers in a man page.
Extract the relevant part of qemu-doc.html into a new file called docs/qemu-block-drivers.texi. This file can also be built as a stand-alone document (man, html, etc).
Signed-off-by Stefan Hajnoczi <[email protected]>
I'm getting a few warning during the build:
docs/qemu-block-drivers.texi:790: warning: @setfilename after the first element docs/qemu-block-drivers.texi:790: warning: @setfilename after the first element docs/qemu-block-drivers.texi:791: warning: multiple @settitle docs/qemu-block-drivers.texi:791: warning: multiple @settitle
Kevin
Quoted 9 lines · Kevin Wolf
Am 04.09.2017 um 18:26 hat Stefan Hajnoczi geschrieben:
Quoted 8 lines
Block driver documentation is available in qemu-doc.html. It would be convenient to have documentation for formats, protocols, and filter drivers in a man page.
Extract the relevant part of qemu-doc.html into a new file called docs/qemu-block-drivers.texi. This file can also be built as a stand-alone document (man, html, etc).
Quoted 8 lines
Quoted 1 line
Signed-off-by Stefan Hajnoczi <[email protected]>I'm getting a few warning during the build:
docs/qemu-block-drivers.texi:790: warning: @setfilename after the first element docs/qemu-block-drivers.texi:790: warning: @setfilename after the first element docs/qemu-block-drivers.texi:791: warning: multiple @settitle docs/qemu-block-drivers.texi:791: warning: multiple @settitle
Thanks, will fix!
Stefan