Skip to contentSkip to conversation

docs: add qemu-block-drivers(7) man page

PATCH Superseded Stefan Hajnoczi 2 participants 3 messages Sep 6, 2017 Kbuild

v5 of 6 Superseded Latest is v6 →

lore
Share & tools
lore
#0 lore raw

PATCH v5 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).

---
v5:
* Dropped .html, .info, and .txt due to cross-platform texi toolchain issues (qemu-img.texi also supports man output only) after Kevin reported warnings

---
 Makefile                     |   5 +-
 docs/qemu-block-drivers.texi | 804 +++++++++++++++++++++++++++++++++++++++++++
 qemu-doc.texi                | 781 +----------------------------------------
 3 files changed, 809 insertions(+), 781 deletions(-)
 create mode 100644 docs/qemu-block-drivers.texi
Makefile +4 -1
index 81447b1f08..8668d9e7e4 100644
@@ -209,6 +209,7 @@ 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.7
 ifdef CONFIG_VIRTFS
 DOCS+=fsdev/virtfs-proxy-helper.1
 endif
@@ -528,6 +529,7 @@ 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
 	for d in $(TARGET_DIRS); do \
 	rm -rf $$d || exit 1 ; \
         done
@@ -573,6 +575,7 @@ ifdef CONFIG_POSIX
 	$(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"
@@ -727,7 +730,7 @@ txt: qemu-doc.txt docs/interop/qemu-qmp-ref.txt docs/interop/qemu-ga-ref.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 \
docs/qemu-block-drivers.texi new file +804 -0

804 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
#1 lore raw

Am 06.09.2017 um 13:03 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 6 lines

---
v5:
* Dropped .html, .info, and .txt due to cross-platform texi toolchain issues (qemu-img.texi also supports man output only) after Kevin reported warnings

Now it doesn't build at all any more. :-(

GEN docs/qemu-block-drivers.7
No filename or title
make: *** [rules.mak:387: docs/qemu-block-drivers.7] Fehler 21

Kevin

#2 lore raw
Quoted 16 lines · Kevin Wolf

Am 06.09.2017 um 13:03 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 6 lines

---
v5:
* Dropped .html, .info, and .txt due to cross-platform texi toolchain issues (qemu-img.texi also supports man output only) after Kevin reported warnings

Quoted 5 lines

Now it doesn't build at all any more. :-(

GEN docs/qemu-block-drivers.7
No filename or title
make: *** [rules.mak:387: docs/qemu-block-drivers.7] Fehler 21

What a nightmare, sorry. I can reproduce it after running make distclean.

Stefan