docs: add qemu-block-drivers(7) man page
PATCH v2 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 onto qemu.git/master after Paolo's docs/ changes [jsnow]
Makefile | 23 +- docs/qemu-block-drivers.texi | 692 +++++++++++++++++++++++++++++++++++++++++++ qemu-doc.texi | 673 +---------------------------------------- 3 files changed, 711 insertions(+), 677 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
docs/qemu-block-drivers.texi new file +692 -0
692 lines not on this page · raw message
qemu-doc.texi +1 -672
679 lines not on this page · raw message
Signature · 1 line
2.9.4
This series failed automatic build test. Please find the testing commands and their output below. If you have docker installed, you can probably reproduce it locally.
Hi,
This series failed automatic build test. Please find the testing commands and their output below. If you have docker installed, you can probably reproduce it locally.
Subject: [Qemu-devel] [PATCH v2] docs: add qemu-block-drivers(7) man page
Message-id: [email protected]
Type: series
=== TEST SCRIPT BEGIN ===
#!/bin/bash
set -e
git submodule update --init dtc
# Let docker tests dump environment info
export SHOW_ENV=1
export J=8
time make docker-test-quick@centos6
time make docker-test-build@min-glib
time make docker-test-mingw@fedora
=== TEST SCRIPT END ===
Updating 3c8cf5a9c21ff8782164d1def7f44bd888713384
fatal: unable to access 'https://github.com/patchew-project/qemu/': Could not resolve host: github.com
error: Could not fetch 3c8cf5a9c21ff8782164d1def7f44bd888713384
Traceback (most recent call last):
File "/home/fam/bin/patchew", line 440, in test_one
git_clone_repo(clone, r["repo"], r["head"], logf)
File "/home/fam/bin/patchew", line 48, in git_clone_repo
stdout=logf, stderr=logf)
File "/usr/lib64/python3.5/subprocess.py", line 271, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['git', 'remote', 'add', '-f', '--mirror=fetch', '3c8cf5a9c21ff8782164d1def7f44bd888713384', 'https://github.com/patchew-project/qemu']' returned non-zero exit status 1
---
Email generated automatically by Patchew [http://patchew.org/].
Please send your feedback to [email protected]
Quoted 11 lines · On Thu, 07/06 16:48, [email protected] wrote:
Updating
3c8cf5a9c21ff8782164d1def7f44bd888713384
fatal: unable to access 'https://github.com/patchew-project/qemu/': Could not resolve host: github.com
error: Could not fetch3c8cf5a9c21ff8782164d1def7f44bd888713384
Traceback (most recent call last):
File "/home/fam/bin/patchew", line 440, intest_onegit_clone_repo(clone, r["repo"], r["head"], logf)File "
/home/fam/bin/patchew", line 48, ingit_clone_repo
stdout=logf, stderr=logf)
File "/usr/lib64/python3.5/subprocess.py", line 271, incheck_call
raiseCalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['git', 'remote', 'add', '-f', '--mirror=fetch', '3c8cf5a9c21ff8782164d1def7f44bd888713384', 'https://github.com/patchew-project/qemu']' returned non-zero exit status 1
Ignore this please, patchew is recovering from a bad state.
Fam
Quoted 11 lines · Stefan Hajnoczi
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]>Reviewed-by John Snow <[email protected]>---
Ping for 2.10, or no?
--js
Quoted 9 lines · John Snow
Quoted 8 lines · Stefan Hajnoczi
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 5 lines
Quoted 3 lines
Signed-off-by Stefan Hajnoczi <[email protected]>Reviewed-by John Snow <[email protected]>---
Ping for 2.10, or no?
This is not urgent, it can go into 2.11.
Stefan
Am 27.06.2017 um 17:41 hat Stefan Hajnoczi geschrieben:
Quoted 3 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.
This is specifically for create options, which is a good start.
I think we should probably also plan how to integrate run-time options (basically the equivalent of the QAPI schema comments for blockdev-add). Maybe we can even generate this from the schema in order to avoid that the documentation becomes outdated?
Quoted 6 lines
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]>Reviewed-by John Snow <[email protected]>
Looks good, but doesn't apply any more.
A rebased version can still be included in QEMU 2.10, documentation improvements are fine during the freeze.
Kevin
Quoted 5 lines · Kevin Wolf
Am 27.06.2017 um 17:41 hat Stefan Hajnoczi geschrieben:
Quoted 4 lines
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 7 lines
Quoted 2 lines
Signed-off-by Stefan Hajnoczi <[email protected]>Reviewed-by John Snow <[email protected]>Looks good, but doesn't apply any more.
A rebased version can still be included in QEMU 2.10, documentation improvements are fine during the freeze.
Thanks, I have sent v3 to resolve the conflict.
Stefan