Convert a few docs/misc pages into man pages
cover Convert a few docs/misc pages into man pages
As pointed out in Ian and Andrew's emails on my recent docs improvement attempt, getting the documents from docs/misc referenced in man pages as man pages would would make these pages more visible for users. This would also not break the docs html INDEX.
This series adds ability to write markdown man pages. Be aware that markdown man pages can't link to other man pages.
I also added some pages to man 7 (Misc) section.
Cédric Bosdonnat (11):
docs: allow writing man pages in markdown
docs: add rules for man 7 section
docs: xl-network-configuration turns into a man
docs: convert xl-disk-configuration into a man page
docs: move vbd-interface from misc to man
docs: move xl-numa-placement.markdown to man7
docs: move vtpm from misc to man
docs: convert vtpmmgr into a pod man page
docs: convert misc/channel.txt into xen-pv-channel man page
docs: move pci-device-reservations from misc to man
docs: convert tscmode.txt into man page
.gitignore | 1 +
docs/INDEX | 5 -
docs/Makefile | 57 ++-
docs/{misc/tscmode.txt => man/tscmode.pod.7} | 109 +++--
.../vbd-interface.markdown.7} | 0
docs/{misc/vtpm.txt => man/vtpm.pod.7} | 364 +++++++-------
docs/{misc/vtpmmgr.txt => man/vtpmmgr.pod.7} | 351 ++++++++------
docs/man/xen-pci-device-reservations.pod.7 | 84 ++++
.../channel.txt => man/xen-pv-channel.markdown.7} | 20 +-
docs/man/xl-disk-configuration.pod.5 | 529 +++++++++++++++++++++
.../xl-network-configuration.markdown.5} | 0
.../xl-numa-placement.markdown.7} | 0
docs/man/xl.cfg.pod.5.in | 21 +-
docs/man/xl.pod.1.in | 11 +-
docs/misc/pci-device-reservations.txt | 58 ---
docs/misc/xl-disk-configuration.txt | 359 --------------
16 files changed, 1162 insertions(+), 807 deletions(-)
rename docs/{misc/tscmode.txt => man/tscmode.pod.7} (89%)
rename docs/{misc/vbd-interface.txt => man/vbd-interface.markdown.7} (100%)
rename docs/{misc/vtpm.txt => man/vtpm.pod.7} (57%)
rename docs/{misc/vtpmmgr.txt => man/vtpmmgr.pod.7} (54%)
create mode 100644 docs/man/xen-pci-device-reservations.pod.7
rename docs/{misc/channel.txt => man/xen-pv-channel.markdown.7} (92%)
create mode 100644 docs/man/xl-disk-configuration.pod.5
rename docs/{misc/xl-network-configuration.markdown => man/xl-network-configuration.markdown.5} (100%)
rename docs/{misc/xl-numa-placement.markdown => man/xl-numa-placement.markdown.7} (100%)
delete mode 100644 docs/misc/pci-device-reservations.txt
delete mode 100644 docs/misc/xl-disk-configuration.txtSignature · 7 lines
2.11.0 _______________________________________________ Xen-devel mailing list [email protected] https://lists.xen.org/xen-devel
PATCH 1/11 docs: allow writing man pages in markdown
Some of the docs/misc documents are written in markdown language. As an effort to cleanup man pages these documents will be converted into man pages. To avoid some more conversion, add rules to the docs/Makefile to generate man pages out of markdown files as well as pod ones.
However, pandoc doesn't know how to convert man pages links. Thus the man links in markdown pages won't work.
--- docs/Makefile | 48 ++++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 42 insertions(+), 6 deletions(-)
docs/Makefile +42 -6
@@ -3,13 +3,14 @@ include $(XEN_ROOT)/Config.mk -include $(XEN_ROOT)/config/Docs.mk VERSION := $(shell $(MAKE) -C $(XEN_ROOT)/xen --no-print-directory xenversion) +DATE := $(shell date +%Y-%m-%d) DOC_ARCHES := arm x86_32 x86_64 # Documentation sources to build -MAN1SRC-y := $(sort $(shell find man/ -name '*.pod.1' -print)) -MAN5SRC-y := $(sort $(shell find man/ -name '*.pod.5' -print)) -MAN8SRC-y := $(sort $(shell find man/ -name '*.pod.8' -print)) +MAN1SRC-y := $(sort $(shell find man/ -regex '.*\.\(pod\|markdown\)\.1' -print)) +MAN5SRC-y := $(sort $(shell find man/ -regex '.*\.\(pod\|markdown\)\.5' -print)) +MAN8SRC-y := $(sort $(shell find man/ -regex '.*\.\(pod\|markdown\)\.8' -print)) MARKDOWNSRC-y := $(sort $(shell find misc -name '*.markdown' -print))
@@ -18,11 +19,17 @@ TXTSRC-y := $(sort $(shell find misc -name '*.txt' -print)) PANDOCSRC-y := $(sort $(shell find features/ misc/ specs/ -name '*.pandoc' -print)) # Documentation targets -DOC_MAN1 := $(patsubst man/%.pod.1,man1/%.1,$(MAN1SRC-y)) -DOC_MAN5 := $(patsubst man/%.pod.5,man5/%.5,$(MAN5SRC-y)) -DOC_MAN8 := $(patsubst man/%.pod.8,man8/%.8,$(MAN8SRC-y)) +DOC_MAN1 := $(patsubst man/%.pod.1,man1/%.1,$(MAN1SRC-y)) \ + $(patsubst man/%.markdown.1,man1/%.1,$(MAN1SRC-y)) +DOC_MAN5 := $(patsubst man/%.pod.5,man5/%.5,$(MAN5SRC-y)) \ + $(patsubst man/%.markdown.5,man5/%.5,$(MAN5SRC-y)) +DOC_MAN8 := $(patsubst man/%.pod.8,man8/%.8,$(MAN8SRC-y)) \ + $(patsubst man/%.markdown.8,man8/%.8,$(MAN8SRC-y)) DOC_HTML := $(patsubst %.markdown,html/%.html,$(MARKDOWNSRC-y)) \ $(patsubst %.pandoc,html/%.html,$(PANDOCSRC-y)) \ + $(patsubst man/%.markdown.1,html/man/%.1.html,$(MAN1SRC-y)) \ + $(patsubst man/%.markdown.5,html/man/%.5.html,$(MAN5SRC-y)) \ + $(patsubst man/%.markdown.8,html/man/%.8.html,$(MAN8SRC-y)) \ $(patsubst man/%.pod.1,html/man/%.1.html,$(MAN1SRC-y)) \ $(patsubst man/%.pod.5,html/man/%.5.html,$(MAN5SRC-y)) \ $(patsubst man/%.pod.8,html/man/%.8.html,$(MAN8SRC-y)) \
@@ -31,6 +38,9 @@ DOC_HTML := $(patsubst %.markdown,html/%.html,$(MARKDOWNSRC-y)) \ DOC_TXT := $(patsubst %.txt,txt/%.txt,$(TXTSRC-y)) \ $(patsubst %.markdown,txt/%.txt,$(MARKDOWNSRC-y)) \ $(patsubst %.pandoc,txt/%.txt,$(PANDOCSRC-y)) \ + $(patsubst man/%.markdown.1,txt/man/%.1.txt,$(MAN1SRC-y)) \ + $(patsubst man/%.markdown.5,txt/man/%.5.txt,$(MAN5SRC-y)) \ + $(patsubst man/%.markdown.8,txt/man/%.8.txt,$(MAN8SRC-y)) \ $(patsubst man/%.pod.1,txt/man/%.1.txt,$(MAN1SRC-y)) \ $(patsubst man/%.pod.5,txt/man/%.5.txt,$(MAN5SRC-y)) \ $(patsubst man/%.pod.8,txt/man/%.8.txt,$(MAN8SRC-y))
@@ -89,6 +99,16 @@ else @echo "pod2man not installed; skipping $$@" endif +man$(1)/%.$(1): man/%.markdown.$(1) Makefile +ifneq ($(PANDOC),) + @$(INSTALL_DIR) $$(@D) + $(PANDOC) --standalone -V title=$$* -V section=$(1) \ + -V date="$(DATE)" -V footer="$(VERSION)" \ + -V header=Xen $$< -t man --output $$@ +else + @echo "pandoc not installed; skipping $$@" +endif + # HTML manpages html/man/%.$(1).html: man/%.pod.$(1) Makefile ifneq ($(POD2HTML),)
@@ -98,6 +118,14 @@ else @echo "pod2html not installed; skipping $$@" endif +html/man/%.$(1).html: man/%.markdown.$(1) Makefile +ifneq ($(PANDOC),) + @$(INSTALL_DIR) $$(@D) + $(PANDOC) --standalone $$< -t html --toc --output $$@ +else + @echo "pandoc not installed; skipping $$@" +endif + # Text manpages txt/man/%.$(1).txt: man/%.pod.$(1) Makefile ifneq ($(POD2TEXT),)
@@ -107,6 +135,14 @@ else @echo "pod2text not installed; skipping $$@" endif +txt/man/%.$(1).txt: man/%.markdown.$(1) Makefile +ifneq ($(PANDOC),) + @$(INSTALL_DIR) $$(@D) + $(PANDOC) --standalone $$< -t plain --output $$@ +else + @echo "pandoc not installed; skipping $$@" +endif + # Build .PHONY: man$(1)-pages man$(1)-pages: $$(DOC_MAN$(1))
Signature · 7 lines
2.11.0 _______________________________________________ Xen-devel mailing list [email protected] https://lists.xen.org/xen-devel
Re: [PATCH 01/11] docs: allow writing man pages in markdown
Quoted 9 lines · Cédric Bosdonnat
Some of the docs/misc documents are written in markdown language. As an effort to cleanup man pages these documents will be converted into man pages. To avoid some more conversion, add rules to the docs/Makefile to generate man pages out of markdown files as well as pod ones.
However, pandoc doesn't know how to convert man pages links. Thus the man links in markdown pages won't work.
Signed-off-by Cédric Bosdonnat <[email protected]>
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
PATCH 2/11 docs: add rules for man 7 section
In reply to Cédric BosdonnatSome of the docs/misc documents will need to go in man 7 section, prepare docs/Makefile for it.
--- .gitignore | 1 + docs/Makefile | 9 ++++++++- 2 files changed, 9 insertions(+), 1 deletion(-)
.gitignore +1 -0
@@ -45,6 +45,7 @@ docs/man/xl.cfg.pod.5 docs/man/xl.pod.1 docs/man1/ docs/man5/ +docs/man7/ docs/man8/ docs/pdf/ docs/txt/
docs/Makefile +8 -1
@@ -10,6 +10,7 @@ DOC_ARCHES := arm x86_32 x86_64 # Documentation sources to build MAN1SRC-y := $(sort $(shell find man/ -regex '.*\.\(pod\|markdown\)\.1' -print)) MAN5SRC-y := $(sort $(shell find man/ -regex '.*\.\(pod\|markdown\)\.5' -print)) +MAN7SRC-y := $(sort $(shell find man/ -regex '.*\.\(pod\|markdown\)\.7' -print)) MAN8SRC-y := $(sort $(shell find man/ -regex '.*\.\(pod\|markdown\)\.8' -print)) MARKDOWNSRC-y := $(sort $(shell find misc -name '*.markdown' -print))
@@ -23,15 +24,19 @@ DOC_MAN1 := $(patsubst man/%.pod.1,man1/%.1,$(MAN1SRC-y)) \ $(patsubst man/%.markdown.1,man1/%.1,$(MAN1SRC-y)) DOC_MAN5 := $(patsubst man/%.pod.5,man5/%.5,$(MAN5SRC-y)) \ $(patsubst man/%.markdown.5,man5/%.5,$(MAN5SRC-y)) +DOC_MAN7 := $(patsubst man/%.pod.7,man7/%.7,$(MAN7SRC-y)) \ + $(patsubst man/%.markdown.7,man7/%.7,$(MAN7SRC-y)) DOC_MAN8 := $(patsubst man/%.pod.8,man8/%.8,$(MAN8SRC-y)) \ $(patsubst man/%.markdown.8,man8/%.8,$(MAN8SRC-y)) DOC_HTML := $(patsubst %.markdown,html/%.html,$(MARKDOWNSRC-y)) \ $(patsubst %.pandoc,html/%.html,$(PANDOCSRC-y)) \ $(patsubst man/%.markdown.1,html/man/%.1.html,$(MAN1SRC-y)) \ $(patsubst man/%.markdown.5,html/man/%.5.html,$(MAN5SRC-y)) \ + $(patsubst man/%.markdown.7,html/man/%.7.html,$(MAN7SRC-y)) \ $(patsubst man/%.markdown.8,html/man/%.8.html,$(MAN8SRC-y)) \ $(patsubst man/%.pod.1,html/man/%.1.html,$(MAN1SRC-y)) \ $(patsubst man/%.pod.5,html/man/%.5.html,$(MAN5SRC-y)) \ + $(patsubst man/%.pod.7,html/man/%.7.html,$(MAN7SRC-y)) \ $(patsubst man/%.pod.8,html/man/%.8.html,$(MAN8SRC-y)) \ $(patsubst %.txt,html/%.txt,$(TXTSRC-y)) \ $(patsubst %,html/hypercall/%/index.html,$(DOC_ARCHES))
@@ -40,9 +45,11 @@ DOC_TXT := $(patsubst %.txt,txt/%.txt,$(TXTSRC-y)) \ $(patsubst %.pandoc,txt/%.txt,$(PANDOCSRC-y)) \ $(patsubst man/%.markdown.1,txt/man/%.1.txt,$(MAN1SRC-y)) \ $(patsubst man/%.markdown.5,txt/man/%.5.txt,$(MAN5SRC-y)) \ + $(patsubst man/%.markdown.7,txt/man/%.7.txt,$(MAN7SRC-y)) \ $(patsubst man/%.markdown.8,txt/man/%.8.txt,$(MAN8SRC-y)) \ $(patsubst man/%.pod.1,txt/man/%.1.txt,$(MAN1SRC-y)) \ $(patsubst man/%.pod.5,txt/man/%.5.txt,$(MAN5SRC-y)) \ + $(patsubst man/%.pod.7,txt/man/%.7.txt,$(MAN7SRC-y)) \ $(patsubst man/%.pod.8,txt/man/%.8.txt,$(MAN8SRC-y)) DOC_PDF := $(patsubst %.markdown,pdf/%.pdf,$(MARKDOWNSRC-y)) \ $(patsubst %.pandoc,pdf/%.pdf,$(PANDOCSRC-y))
@@ -166,7 +173,7 @@ clean-man-pages: clean-man$(1)-pages endef # Generate manpage rules for each section -$(foreach i,1 5 8,$(eval $(call GENERATE_MANPAGE_RULES,$(i)))) +$(foreach i,1 5 7 8,$(eval $(call GENERATE_MANPAGE_RULES,$(i)))) .PHONY: install-html install-html: html txt figs
Signature · 7 lines
2.11.0 _______________________________________________ Xen-devel mailing list [email protected] https://lists.xen.org/xen-devel
Re: [PATCH 02/11] docs: add rules for man 7 section
Quoted 4 lines · Cédric Bosdonnat
Some of the docs/misc documents will need to go in man 7 section, prepare docs/Makefile for it.
Signed-off-by Cédric Bosdonnat <[email protected]>
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
Re: [PATCH 02/11] docs: add rules for man 7 section
In reply to Cédric BosdonnatQuoted 4 lines · Cédric Bosdonnat
Some of the docs/misc documents will need to go in man 7 section, prepare docs/Makefile for it.
Signed-off-by Cédric Bosdonnat <[email protected]>
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
PATCH 3/11 docs: xl-network-configuration turns into a man
In reply to Cédric BosdonnatMove docs/misc/xl-network-configuration.markdown to docs/man and update the references to it in the other man pages.
---
docs/INDEX | 1 -
.../xl-network-configuration.markdown.5} | 0
docs/man/xl.cfg.pod.5.in | 4 ++--
docs/man/xl.pod.1.in | 4 ++--
4 files changed, 4 insertions(+), 5 deletions(-)
rename docs/{misc/xl-network-configuration.markdown => man/xl-network-configuration.markdown.5} (100%)docs/INDEX +0 -1
@@ -17,7 +17,6 @@ misc/vbd-interface Xen Guest Disk (VBD) Interface misc/xenstore Xenstore protocol specification misc/xenstore-paths Xenstore path documentation misc/xl-disk-configuration XL Disk Configuration -misc/xl-network-configuration XL Network Configuration misc/distro_mapping Distro Directory Layouts misc/dump-core-format Xen Core Dump Format misc/vtd VT-d HOWTO
docs/man/xl-network-configuration.markdown.5 renamed from docs/misc/xl-network-configuration.markdown +0 -0
docs/man/xl.cfg.pod.5.in +2 -2
@@ -486,7 +486,7 @@ the host they should map to. See F<docs/misc/xl-disk-configuration.txt>. Specifies the networking provision (both emulated network adapters, and Xen virtual interfaces) to provided to the guest. See -F<docs/misc/xl-network-configuration.markdown>. +L<xl-network-configuration(5)>. =item B<vtpm=[ "VTPM_SPEC_STRING", "VTPM_SPEC_STRING", ...]>
@@ -2032,7 +2032,7 @@ natively or via hardware backwards compatibility support. =item F<xl-disk-configuration> -=item F<xl-network-configuration> +=item L<xl-network-configuration(5)> =item F<docs/misc/tscmode.txt>
docs/man/xl.pod.1.in +2 -2
@@ -1383,7 +1383,7 @@ How the device should be presented to the guest domain; for example "hdc". Creates a new network device in the domain specified by I<domain-id>. I<network-device> describes the device to attach, using the same format as the B<vif> string in the domain config file. See L<xl.cfg> and -L<http://xenbits.xen.org/docs/unstable/misc/xl-network-configuration.html> +L<xl-network-configuration(5)> for more informations. Note that only attaching PV network interface is supported.
@@ -1797,10 +1797,10 @@ Transcendent Memory. The following man pages: L<xl.cfg>(5), L<xlcpupool.cfg>(5), B<xentop>(1) +L<xl-network-configuration(5)> And the following documents on the xen.org website: -L<http://xenbits.xen.org/docs/unstable/misc/xl-network-configuration.html> L<http://xenbits.xen.org/docs/unstable/misc/xl-disk-configuration.txt> L<http://xenbits.xen.org/docs/unstable/misc/xsm-flask.txt> L<http://xenbits.xen.org/docs/unstable/misc/xl-psr.html>
Signature · 7 lines
2.11.0 _______________________________________________ Xen-devel mailing list [email protected] https://lists.xen.org/xen-devel
Re: [PATCH 03/11] docs: xl-network-configuration turns into a man
Quoted 4 lines · Cédric Bosdonnat
Move docs/misc/xl-network-configuration.markdown to docs/man and update the references to it in the other man pages.
Signed-off-by Cédric Bosdonnat <[email protected]>
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
PATCH 4/11 docs: convert xl-disk-configuration into a man page
In reply to Cédric BosdonnatConvert xl-disk-configuration.txt from plain text file to a POD file to get it as a man page. The references to it in the other man pages are also updated.
--- docs/INDEX | 1 - docs/man/xl-disk-configuration.pod.5 | 529 +++++++++++++++++++++++++++++++++++ docs/man/xl.cfg.pod.5.in | 4 +- docs/man/xl.pod.1.in | 7 +- docs/misc/xl-disk-configuration.txt | 359 ------------------------ 5 files changed, 534 insertions(+), 366 deletions(-) create mode 100644 docs/man/xl-disk-configuration.pod.5 delete mode 100644 docs/misc/xl-disk-configuration.txt
docs/INDEX +0 -1
@@ -16,7 +16,6 @@ misc/tscmode TSC Mode HOWTO misc/vbd-interface Xen Guest Disk (VBD) Interface misc/xenstore Xenstore protocol specification misc/xenstore-paths Xenstore path documentation -misc/xl-disk-configuration XL Disk Configuration misc/distro_mapping Distro Directory Layouts misc/dump-core-format Xen Core Dump Format misc/vtd VT-d HOWTO
docs/man/xl-disk-configuration.pod.5 new file +529 -0
529 lines not on this page · raw message
docs/man/xl.cfg.pod.5.in +2 -2
@@ -480,7 +480,7 @@ devices which the guest will contain. Specifies the disks (both emulated disks and Xen virtual block devices) which are to be provided to the guest, and what objects on -the host they should map to. See F<docs/misc/xl-disk-configuration.txt>. +the host they should map to. See L<xl-disk-configuration(5)>. =item B<vif=[ "NET_SPEC_STRING", "NET_SPEC_STRING", ...]>
@@ -2030,7 +2030,7 @@ natively or via hardware backwards compatibility support. =item L<xlcpupool.cfg(5)> -=item F<xl-disk-configuration> +=item L<xl-disk-configuration(5)> =item L<xl-network-configuration(5)>
docs/man/xl.pod.1.in +3 -4
@@ -1315,7 +1315,7 @@ The domain id of the guest domain that the device will be attached to. A disc specification in the same format used for the B<disk> variable in the domain config file. See -L<http://xenbits.xen.org/docs/unstable/misc/xl-disk-configuration.txt>. +L<xl-disk-configuration(5)>. =back
@@ -1354,7 +1354,7 @@ How the device should be presented to the guest domain; for example "hdc". the target path in the backend domain (usually domain 0) to be exported; Can be a block device or a file etc. See B<target> in -F<docs/misc/xl-disk-configuration.txt>. +L<xl-disk-configuration(5)>. =back
@@ -1796,12 +1796,11 @@ Transcendent Memory. The following man pages: -L<xl.cfg>(5), L<xlcpupool.cfg>(5), B<xentop>(1) +L<xl.cfg>(5), L<xlcpupool.cfg>(5), L<xentop>(1), L<xl-disk-configuration(5)> L<xl-network-configuration(5)> And the following documents on the xen.org website: -L<http://xenbits.xen.org/docs/unstable/misc/xl-disk-configuration.txt> L<http://xenbits.xen.org/docs/unstable/misc/xsm-flask.txt> L<http://xenbits.xen.org/docs/unstable/misc/xl-psr.html>
docs/misc/xl-disk-configuration.txt deleted +0 -359
359 lines not on this page · raw message
Signature · 7 lines
2.11.0 _______________________________________________ Xen-devel mailing list [email protected] https://lists.xen.org/xen-devel
Re: [PATCH 04/11] docs: convert xl-disk-configuration into a man page
Quoted 5 lines · Cédric Bosdonnat
Convert xl-disk-configuration.txt from plain text file to a POD file to get it as a man page. The references to it in the other man pages are also updated.
Signed-off-by Cédric Bosdonnat <[email protected]>
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
PATCH 5/11 docs: move vbd-interface from misc to man
In reply to Cédric BosdonnatMake vbd-interface a man page, section7, as this document is referenced in other man pages (xl-disk-configuration)
---
docs/INDEX | 1 -
docs/{misc/vbd-interface.txt => man/vbd-interface.markdown.7} | 0
2 files changed, 1 deletion(-)
rename docs/{misc/vbd-interface.txt => man/vbd-interface.markdown.7} (100%)docs/INDEX +0 -1
@@ -13,7 +13,6 @@ misc/crashdb Xen crash debugger notes misc/grant-tables A Rough Introduction to Using Grant Tables misc/kexec_and_kdump Kexec and Kdump for Xen misc/tscmode TSC Mode HOWTO -misc/vbd-interface Xen Guest Disk (VBD) Interface misc/xenstore Xenstore protocol specification misc/xenstore-paths Xenstore path documentation misc/distro_mapping Distro Directory Layouts
docs/man/vbd-interface.markdown.7 renamed from docs/misc/vbd-interface.txt +0 -0
Signature · 7 lines
2.11.0 _______________________________________________ Xen-devel mailing list [email protected] https://lists.xen.org/xen-devel
Re: [PATCH 05/11] docs: move vbd-interface from misc to man
Quoted 4 lines · Cédric Bosdonnat
Make vbd-interface a man page, section7, as this document is referenced in other man pages (xl-disk-configuration)
Signed-off-by Cédric Bosdonnat <[email protected]>
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
PATCH 6/11 docs: move xl-numa-placement.markdown to man7
In reply to Cédric Bosdonnatdocs/misc/xl-numa-placement.markdown is referenced by xl.cfg.5 man page, move it to a man page, section 7.
---
.../xl-numa-placement.markdown => man/xl-numa-placement.markdown.7} | 0
docs/man/xl.cfg.pod.5.in | 2 +-
2 files changed, 1 insertion(+), 1 deletion(-)
rename docs/{misc/xl-numa-placement.markdown => man/xl-numa-placement.markdown.7} (100%)docs/man/xl-numa-placement.markdown.7 renamed from docs/misc/xl-numa-placement.markdown +0 -0
docs/man/xl.cfg.pod.5.in +1 -1
@@ -185,7 +185,7 @@ host cpus and memory. In that case, the soft affinity of all the vcpus of the domain will be set to the pcpus belonging to the NUMA nodes chosen during placement. -For more details, see F<docs/misc/xl-numa-placement.markdown>. +For more details, see L<xl-numa-placement(7)>. =back
Signature · 7 lines
2.11.0 _______________________________________________ Xen-devel mailing list [email protected] https://lists.xen.org/xen-devel
Re: [PATCH 06/11] docs: move xl-numa-placement.markdown to man7
Quoted 4 lines · Cédric Bosdonnat
docs/misc/xl-numa-placement.markdown is referenced by xl.cfg.5 man page, move it to a man page, section 7.
Signed-off-by Cédric Bosdonnat <[email protected]>
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
PATCH 7/11 docs: move vtpm from misc to man
In reply to Cédric Bosdonnatvtpm.txt is referenced in xl.cfg man page. Convert it to pod, move it to the man folder and update the reference.
---
docs/INDEX | 1 -
docs/{misc/vtpm.txt => man/vtpm.pod.7} | 364 +++++++++++++++++----------------
docs/man/xl.cfg.pod.5.in | 3 +-
3 files changed, 194 insertions(+), 174 deletions(-)
rename docs/{misc/vtpm.txt => man/vtpm.pod.7} (57%)docs/INDEX +0 -1
@@ -18,7 +18,6 @@ misc/xenstore-paths Xenstore path documentation misc/distro_mapping Distro Directory Layouts misc/dump-core-format Xen Core Dump Format misc/vtd VT-d HOWTO -misc/vtpm Virtual TPM misc/xen-error-handling Xen Error Handling misc/xenpaging Xen Paging misc/xsm-flask XSM/FLASK Configuration
docs/man/vtpm.pod.7 renamed from docs/misc/vtpm.txt +193 -171
495 lines not on this page · raw message
docs/man/xl.cfg.pod.5.in +1 -2
@@ -491,8 +491,7 @@ L<xl-network-configuration(5)>. =item B<vtpm=[ "VTPM_SPEC_STRING", "VTPM_SPEC_STRING", ...]> Specifies the virtual trusted platform module to be -provided to the guest. Please see F<docs/misc/vtpm.txt> -for more details. +provided to the guest. Please see L<vtpm(7)> for more details. Each B<VTPM_SPEC_STRING> is a comma-separated list of C<KEY=VALUE> settings, from the following list:
Signature · 7 lines
2.11.0 _______________________________________________ Xen-devel mailing list [email protected] https://lists.xen.org/xen-devel
Re: [PATCH 07/11] docs: move vtpm from misc to man
Quoted 4 lines · Cédric Bosdonnat
vtpm.txt is referenced in xl.cfg man page. Convert it to pod, move it to the man folder and update the reference.
Signed-off-by Cédric Bosdonnat <[email protected]>
Since this manpage only describes Xen's vTPM implementation, and Xen is not the only vTPM that exists in Linux (there's a Linux kernel "vtpm_proxy" interface and another ibmvtpm module), I think it needs be named something like "xen-vtpm". The same applies to patch 8 (vtpmmgr) as that manpage (and software) is Xen-specific.
The POD sources look correct, though I have not compiled & looked at the resulting manpages.
Signature · 7 lines
Daniel De Graaf National Security Agency _______________________________________________ Xen-devel mailing list [email protected] https://lists.xen.org/xen-devel
Re: [PATCH 07/11] docs: move vtpm from misc to man
Quoted 11 lines · Daniel De Graaf
Quoted 4 lines · Cédric Bosdonnat
vtpm.txt is referenced in xl.cfg man page. Convert it to pod, move it to the man folder and update the reference.
Signed-off-by Cédric Bosdonnat <[email protected]>Since this manpage only describes Xen's vTPM implementation, and Xen is not the only vTPM that exists in Linux (there's a Linux kernel "
vtpm_proxy" interface and another ibmvtpm module), I think it needs be named something like "xen-vtpm". The same applies to patch 8 (vtpmmgr) as that manpage (and software) is Xen-specific.
I just changed the names locally. I'll resubmit after having gathered a few more comments.
Thanks for your review.
--
Cedric
Quoted 2 lines
The POD sources look correct, though I have not compiled & looked at the resulting manpages.
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
PATCH 8/11 docs: convert vtpmmgr into a pod man page
In reply to Cédric Bosdonnatvtpmmgr.txt is referenced in a man page, convert it to a man page.
---
docs/{misc/vtpmmgr.txt => man/vtpmmgr.pod.7} | 351 ++++++++++++++++-----------
1 file changed, 206 insertions(+), 145 deletions(-)
rename docs/{misc/vtpmmgr.txt => man/vtpmmgr.pod.7} (54%)docs/man/vtpmmgr.pod.7 renamed from docs/misc/vtpmmgr.txt +206 -145
@@ -1,22 +1,30 @@ -================================================================================ -Authors: - Daniel De Graaf <[email protected]> - Quan Xu <[email protected]> -================================================================================ +=head1 Authors + +=over 4 + +=item Daniel De Graaf <[email protected]> + +=item Quan Xu <[email protected]> + +=back This document describes the operation and command line interface of -vtpmmgr-stubdom. See docs/misc/vtpm.txt for details on the vTPM subsystem as a +vtpmmgr-stubdom. See L<vtpm(7)> for details on the vTPM subsystem as a whole. -================================================================================ -Overview -================================================================================ +=head1 Overview The TPM Manager has three primary functions: -1. Securely store the encryption keys for vTPMs -2. Provide a single controlled path of access to the physical TPM -3. Provide evidence (via TPM Quotes) of the current configuration +=over 4 + +=item 1. Securely store the encryption keys for vTPMs + +=item 2. Provide a single controlled path of access to the physical TPM + +=item 3. Provide evidence (via TPM Quotes) of the current configuration + +=back When combined with a platform that provides a trusted method for creating domains, the TPM Manager provides assurance that the private keys in a vTPM are
@@ -26,9 +34,7 @@ The manager accepts commands from the vtpm-stubdom domains via the mini-os TPM backend driver. The vTPM manager communicates directly with hardware TPM using the mini-os tpm_tis driver. -================================================================================ -Boot Configurations and TPM Groups -================================================================================ +=head1 Boot Configurations and TPM Groups The TPM Manager's data is secured by using the physical TPM's seal operation, which allows data to be bound to specific PCRs. These PCRs are populated in the
@@ -52,9 +58,7 @@ has its own AIK in the physical TPM for quotes of the hardware TPM state; when used with a conforming Privacy CA, this allows each group on the system to form the basis of a distinct identity. -================================================================================ -Initial Provisioning -================================================================================ +=head1 Initial Provisioning When the TPM Manager first boots up, it will create a stub vTPM group along with entries for any vTPMs that communicate with it. This stub group must be
@@ -73,51 +77,87 @@ group is created, a signed list of boot measurements can be installed. The initial group controls the ability to boot the system as a whole, and cannot be deleted once provisioned. -================================================================================ -Command Line Arguments -================================================================================ +=head1 Command Line Arguments Command line arguments are passed to the domain via the 'extra' parameter in the VM config file. Each parameter is separated by white space. For example: -extra="foo=bar baz" + extra="foo=bar baz" Valid arguments: -owner_auth=<AUTHSPEC> -srk_auth=<AUTHSPEC> - Set the owner and SRK authdata for the TPM. If not specified, the - default is 160 zero bits (the well-known auth value). Valid values of - <AUTHSPEC> are: - well-known Use the well known auth (default) - hash:<HASH> Use the given 40-character ASCII hex string - text:<STR> Use sha1 hash of <STR>. - -tpmdriver=<DRIVER> - Choose the driver used for communication with the hardware TPM. Values - other than tpm_tis should only be used for testing. - - The possible values of <DRIVER> are: - tpm_tis Direct communication with a hardware TPM 1.2. The - domain must have access to TPM IO memory. (default) - tpmfront Use the Xen tpmfront interface to talk to another - domain which provides access to the TPM. +=over 4 + +=item owner_auth=<AUTHSPEC> + +=item srk_auth=<AUTHSPEC> + +Set the owner and SRK authdata for the TPM. If not specified, the +default is 160 zero bits (the well-known auth value). Valid values of +<AUTHSPEC> are: + +=over 4 + +=item well-known + +Use the well known auth (default) + +=item hash:<HASH> + +Use the given 40-character ASCII hex string + +=item text:<STR> + +Use sha1 hash of <STR>. + +=back + +=item tpmdriver=<DRIVER> + +Choose the driver used for communication with the hardware TPM. Values +other than tpm_tis should only be used for testing. + +The possible values of <DRIVER> are: + +=over 4 + +=item tpm_tis + +Direct communication with a hardware TPM 1.2. The +domain must have access to TPM IO memory. (default) + +=item tpmfront + +Use the Xen tpmfront interface to talk to another +domain which provides access to the TPM. + +=back + +=back The following options only apply to the tpm_tis driver: -tpmiomem=<ADDR>: The base address of the hardware memory pages of the TPM. - The default is 0xfed40000, as defined by the TCG's PC Client spec. +=over 4 + +=item tpmiomem=<ADDR> -tpmirq=<IRQ>: The irq of the hardware TPM if using interrupts. A value of - "probe" can be set to probe for the irq. A value of 0 disables - interrupts and uses polling (default 0). +The base address of the hardware memory pages of the TPM. +The default is 0xfed40000, as defined by the TCG's PC Client spec. -tpmlocality=<LOC>: Attempt to use locality <LOC> of the hardware TPM. - For full functionality of the TPM Manager, this should be set to "2". +=item tpmirq=<IRQ> -================================================================================ -Platform Security Assumptions -================================================================================ +The irq of the hardware TPM if using interrupts. A value of +"probe" can be set to probe for the irq. A value of 0 disables +interrupts and uses polling (default 0). + +=item tpmlocality=<LOC> + +Attempt to use locality <LOC> of the hardware TPM. +For full functionality of the TPM Manager, this should be set to "2". + +=back + +=head1 Platform Security Assumptions While the TPM Manager has the ability to check the hash of the vTPM requesting a key, there is currently no trusted method to inform the TPM Manager of the hash
@@ -143,9 +183,7 @@ unexpected busy errors from the TPM driver. The ability to access locality 2 of the TPM should be enforced using IO memory labeling in the XSM policy; the physical address 0xFED42xxx is always locality 2 for TPMs using the TIS driver. -================================================================================ -Appendix: unsecured migration process for vtpmmgr domain upgrade -================================================================================ +=head1 Appendix: unsecured migration process for vtpmmgr domain upgrade There is no direct upgrade supported from previous versions of the vtpmmgr domain due to changes in the on-disk format and the method used to seal data.
@@ -156,34 +194,40 @@ If adding migration support to the vTPM is not desired, a simpler migration domain usable only for local migration can be constructed. The migration process would look like the following: -1. Start the old vtpmmgr -2. Start the vTPM migration domain -3. Attach the vTPM migration domain's vtpm/0 device to the old vtpmmgr -4. Migration domain executes vtpmmgr_LoadHashKey on vtpm/0 -5. Start the new vtpmmgr, possibly shutting down the old one first -6. Attach the vTPM migration domain's vtpm/1 device to the new vtpmmgr -7. Migration domain executes vtpmmgr_SaveHashKey on vtpm/1 +=over 4 + +=item 1. Start the old vtpmmgr + +=item 2. Start the vTPM migration domain + +=item 3. Attach the vTPM migration domain's vtpm/0 device to the old vtpmmgr + +=item 4. Migration domain executes vtpmmgr_LoadHashKey on vtpm/0 + +=item 5. Start the new vtpmmgr, possibly shutting down the old one first + +=item 6. Attach the vTPM migration domain's vtpm/1 device to the new vtpmmgr + +=item 7. Migration domain executes vtpmmgr_SaveHashKey on vtpm/1 + +=back This requires the migration domain to be added to the list of valid vTPM kernel hashes. In the current version of the vtpmmgr domain, this is the hash of the XSM label, not the kernel. -================================================================================ -Appendix B: vtpmmgr on TPM 2.0 -================================================================================ +=head1 Appendix B: vtpmmgr on TPM 2.0 -Manager disk image setup: -------------------------- +=head2 Manager disk image setup: The vTPM Manager requires a disk image to store its encrypted data. The image does not require a filesystem and can live anywhere on the host disk. The image is not large; the Xen 4.5 vtpmmgr is limited to using the first 2MB of the image but can support more than 20,000 vTPMs. - dd if=/dev/zero of=/home/vtpm2/vmgr bs=16M count=1 + dd if=/dev/zero of=/home/vtpm2/vmgr bs=16M count=1 -Manager config file: --------------------- +=head2 Manager config file: The vTPM Manager domain (vtpmmgr-stubdom) must be started like any other Xen virtual machine and requires a config file. The manager requires a disk image
@@ -194,9 +238,9 @@ locality) that start at physical address 0xfed40000. By default, the TPM manager uses locality 0 (so only the page at 0xfed40 is needed). Add: -.. + extra="tpm2=1" -.. + extra option to launch vtpmmgr-stubdom domain on TPM 2.0, and ignore it on TPM 1.x. for example:
@@ -208,8 +252,7 @@ extra option to launch vtpmmgr-stubdom domain on TPM 2.0, and ignore it on TPM extra="tpm2=1" -Key Hierarchy ------------------------------- +=head2 Key Hierarchy +------------------+ | vTPM's secrets | ...
@@ -238,81 +281,99 @@ that users of the vtpmmgr rely on. I will replace TPM2_Bind/TPM2_Unbind with TPM2_Seal/TPM2_Unseal to provide as much security as it did for TPM 1.2 in later series of patch. -DESIGN OVERVIEW ------------------------------- +=head2 Design Overview The architecture of vTPM subsystem on TPM 2.0 is described below: -+------------------+ -| Linux DomU | ... -| | ^ | -| v | | -| xen-tpmfront | -+------------------+ - | ^ - v | -+------------------+ -| mini-os/tpmback | -| | ^ | -| v | | -| vtpm-stubdom | ... -| | ^ | -| v | | -| mini-os/tpmfront | -+------------------+ - | ^ - v | -+------------------+ -| mini-os/tpmback | -| | ^ | -| v | | -| vtpmmgr-stubdom | -| | ^ | -| v | | -| mini-os/tpm2_tis | -+------------------+ - | ^ - v | -+------------------+ -| Hardware TPM 2.0 | -+------------------+ - - * Linux DomU: The Linux based guest that wants to use a vTPM. There many be - more than one of these. - - * xen-tpmfront.ko: Linux kernel virtual TPM frontend driver. This driver - provides vTPM access to a para-virtualized Linux based DomU. - - * mini-os/tpmback: Mini-os TPM backend driver. The Linux frontend driver - connects to this backend driver to facilitate - communications between the Linux DomU and its vTPM. This - driver is also used by vtpmmgr-stubdom to communicate with - vtpm-stubdom. - - * vtpm-stubdom: A mini-os stub domain that implements a vTPM. There is a - one to one mapping between running vtpm-stubdom instances and - logical vtpms on the system. The vTPM Platform Configuration - Registers (PCRs) are all initialized to zero. - - * mini-os/tpmfront: Mini-os TPM frontend driver. The vTPM mini-os domain - vtpm-stubdom uses this driver to communicate with - vtpmmgr-stubdom. This driver could also be used separately to - implement a mini-os domain that wishes to use a vTPM of - its own. - - * vtpmmgr-stubdom: A mini-os domain that implements the vTPM manager. - There is only one vTPM manager and it should be running during - the entire lifetime of the machine. This domain regulates - access to the physical TPM on the system and secures the - persistent state of each vTPM. - - * mini-os/tpm2_tis: Mini-os TPM version 2.0 TPM Interface Specification (TIS) - driver. This driver used by vtpmmgr-stubdom to talk directly - to the hardware TPM 2.0. Communication is facilitated by mapping - hardware memory pages into vtpmmgr-stubdom. - - * Hardware TPM 2.0: The physical TPM 2.0 that is soldered onto the motherboard. - ---------------------- + +------------------+ + | Linux DomU | ... + | | ^ | + | v | | + | xen-tpmfront | + +------------------+ + | ^ + v | + +------------------+ + | mini-os/tpmback | + | | ^ | + | v | | + | vtpm-stubdom | ... + | | ^ | + | v | | + | mini-os/tpmfront | + +------------------+ + | ^ + v | + +------------------+ + | mini-os/tpmback | + | | ^ | + | v | | + | vtpmmgr-stubdom | + | | ^ | + | v | | + | mini-os/tpm2_tis | + +------------------+ + | ^ + v | + +------------------+ + | Hardware TPM 2.0 | + +------------------+ + +=over 4 + +=item Linux DomU + +The Linux based guest that wants to use a vTPM. There many be +more than one of these. + +=item xen-tpmfront.ko + +Linux kernel virtual TPM frontend driver. This driver +provides vTPM access to a para-virtualized Linux based DomU. + +=item mini-os/tpmback + +Mini-os TPM backend driver. The Linux frontend driver +connects to this backend driver to facilitate +communications between the Linux DomU and its vTPM. This +driver is also used by vtpmmgr-stubdom to communicate with +vtpm-stubdom. + +=item vtpm-stubdom + +A mini-os stub domain that implements a vTPM. There is a +one to one mapping between running vtpm-stubdom instances and +logical vtpms on the system. The vTPM Platform Configuration +Registers (PCRs) are all initialized to zero. + +=item mini-os/tpmfront + +Mini-os TPM frontend driver. The vTPM mini-os domain +vtpm-stubdom uses this driver to communicate with +vtpmmgr-stubdom. This driver could also be used separately to +implement a mini-os domain that wishes to use a vTPM of +its own. + +=item vtpmmgr-stubdom + +A mini-os domain that implements the vTPM manager. +There is only one vTPM manager and it should be running during +the entire lifetime of the machine. This domain regulates +access to the physical TPM on the system and secures the +persistent state of each vTPM. + +=item mini-os/tpm2_tis + +Mini-os TPM version 2.0 TPM Interface Specification (TIS) +driver. This driver used by vtpmmgr-stubdom to talk directly +to the hardware TPM 2.0. Communication is facilitated by mapping +hardware memory pages into vtpmmgr-stubdom. + +=item Hardware TPM 2.0 + +The physical TPM 2.0 that is soldered onto the motherboard. + +=back + Noted: functionality for a virtual guest operating system (a DomU) is still TPM 1.2.
Signature · 7 lines
2.11.0 _______________________________________________ Xen-devel mailing list [email protected] https://lists.xen.org/xen-devel
PATCH 9/11 docs: convert misc/channel.txt into xen-pv-channel man page
In reply to Cédric Bosdonnatchannel.txt is referenced in xl.cfg(5). Move it to man pages, section 7
---
.../channel.txt => man/xen-pv-channel.markdown.7} | 20 ++++++++++----------
docs/man/xl.cfg.pod.5.in | 2 +-
2 files changed, 11 insertions(+), 11 deletions(-)
rename docs/{misc/channel.txt => man/xen-pv-channel.markdown.7} (92%)docs/man/xen-pv-channel.markdown.7 renamed from docs/misc/channel.txt +10 -10
@@ -94,13 +94,13 @@ Channel name registry It is important that channel names are globally unique. To help ensure that no-one's name clashes with yours, please add yours to this list. -Key: -N: Name -C: Contact -D: Short description of use, possibly including a URL to your software - or API - -N: org.xenproject.guest.clipboard.0.1 -C: David Scott <[email protected]> -D: Share clipboard data via an in-guest agent. See: - http://wiki.xenproject.org/wiki/Clipboard_sharing_protocol + Key: + N: Name + C: Contact + D: Short description of use, possibly including a URL to your software + or API + + N: org.xenproject.guest.clipboard.0.1 + C: David Scott <[email protected]> + D: Share clipboard data via an in-guest agent. See: + http://wiki.xenproject.org/wiki/Clipboard_sharing_protocol
docs/man/xl.cfg.pod.5.in +1 -1
@@ -603,7 +603,7 @@ Specifies the virtual channels to be provided to the guest. A channel is a low-bandwidth, bidirectional byte stream, which resembles a serial link. Typical uses for channels include transmitting VM configuration after boot and signalling to in-guest agents. Please see -F<docs/misc/channels.txt> for more details. +L<xen-pv-channel(7)> for more details. Each B<CHANNEL_SPEC_STRING> is a comma-separated list of C<KEY=VALUE> settings. Leading and trailing whitespace is ignored in both KEY and
Signature · 7 lines
2.11.0 _______________________________________________ Xen-devel mailing list [email protected] https://lists.xen.org/xen-devel
Re: [PATCH 09/11] docs: convert misc/channel.txt into xen-pv-channel man page
Quoted 3 lines · Cédric Bosdonnat
channel.txt is referenced in
xl.cfg(5). Move it to man pages, section 7Signed-off-by Cédric Bosdonnat <[email protected]>
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
PATCH 10/11 docs: move pci-device-reservations from misc to man
In reply to Cédric Bosdonnatpci-device-reservations is references in xl.cfg(5), convert it as a man page in pod format. The name is now prefixed with 'xen-' to avoid possible name conflicts.
--- docs/man/xen-pci-device-reservations.pod.7 | 84 ++++++++++++++++++++++++++++++ docs/man/xl.cfg.pod.5.in | 2 +- docs/misc/pci-device-reservations.txt | 58 --------------------- 3 files changed, 85 insertions(+), 59 deletions(-) create mode 100644 docs/man/xen-pci-device-reservations.pod.7 delete mode 100644 docs/misc/pci-device-reservations.txt
docs/man/xen-pci-device-reservations.pod.7 new file +84 -0
@@ -0,0 +1,84 @@ +=head1 Description + +PCI vendor ID 0x5853 has been reserved for use by Xen systems in order to +advertise certain virtual hardware to guest virtual machines. The primary +use of this is with device ID 0x0001 to advertise the Xen Platform PCI +device - the presence of this virtual device enables a guest Operating +System (subject to the availability of suitable drivers) to make use of +paravirtualisation features such as disk and network devices etc. + +Some Xen vendors wish to provide alternative and/or additional guest drivers +that can bind to virtual devices[1]. This may be done using the Xen PCI +vendor ID of 0x5853 and Xen-vendor/device specific PCI device IDs. This file +records reservations made within the device ID range in order to avoid +multiple Xen vendors using conflicting IDs. + +=head1 Guidelines + +=over 4 + +=item 1. A vendor may request a range of device IDs by submitting a patch to + this file. + +=item 2. Vendor allocations should be in the range 0xc000-0xfffe to reduce the + possibility of clashes with community IDs assigned from the bottom up. + +=item 3. The vendor is responsible for allocations within the range and should + try to record specific device IDs in PCI ID databases such as + http://pciids.sourceforge.net and http//www.pcidatabase.com + +=back + +=head1 Reservations + + range | vendor/product + --------------+-------------------------------------------------------------- + 0x0001 | (Xen Platform PCI device) + 0x0002 | Citrix XenServer (grandfathered allocation for XenServer 6.1) + 0xc000-0xc0ff | Citrix XenServer + 0xc100-0xc1ff | Citrix XenClient + +=head1 Notes + +=over 4 + +=item 1. + +Upstream QEMU provides a parameterized device called xen-pvdevice that +can be used to host guest drivers. Execute: + + qemu-system-i386 -device xen-pvdevice,help + +for a list of all parameters. The following parameters are relevant to +driver binding: + +=over 4 + +=item vendor-id (default 0x5853) + +The PCI vendor ID and subsystem vendor ID of the device. + +=item device-id (must be specified) + +The PCI device ID and subsystem device ID of the device. + +=item revision (default 0x01) + +The PCI revision of the device + +=back + +Also the size parameter (default 0x400000) can be used to specify the +size of the single MMIO BAR that the device exposes. This area may be +used by drivers for mapping grant tables, etc. + +Note that the presence of the Xen Platform PCI device is generally a +pre-requisite for an additional xen-pvdevice as it is the platform +device that provides that IO ports necessary for unplugging emulated +devices. See hvm-emulated-unplug.markdown for details of the IO ports +and unplug protocol. + +libxl provides support for creation of a single additional xen-pvdevice. +See the vendor_device parameter in xl.cfg(5). + +=back
docs/man/xl.cfg.pod.5.in +1 -1
@@ -1894,7 +1894,7 @@ specified, enabling the use of XenServer PV drivers in the guest. =back This parameter only takes effect when device_model_version=qemu-xen. -See F<docs/misc/pci-device-reservations.txt> for more information. +See L<xen-pci-device-reservations(7)> for more information. =back
docs/misc/pci-device-reservations.txt deleted +0 -58
58 lines not on this page · raw message
Signature · 7 lines
2.11.0 _______________________________________________ Xen-devel mailing list [email protected] https://lists.xen.org/xen-devel
Re: [PATCH 10/11] docs: move pci-device-reservations from misc to man
Quoted 5 lines · Cédric Bosdonnat
pci-device-reservations is references in
xl.cfg(5), convert it as a man page in pod format. The name is now prefixed with 'xen-' to avoid possible name conflicts.Signed-off-by Cédric Bosdonnat <[email protected]>
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
PATCH 11/11 docs: convert tscmode.txt into man page
In reply to Cédric Bosdonnattscmode.txt is referenced in xl.cfg(5). Convert it into a pod formatted man page.
---
docs/INDEX | 1 -
docs/{misc/tscmode.txt => man/tscmode.pod.7} | 109 ++++++++++++++++++---------
docs/man/xl.cfg.pod.5.in | 4 +-
3 files changed, 76 insertions(+), 38 deletions(-)
rename docs/{misc/tscmode.txt => man/tscmode.pod.7} (89%)docs/INDEX +0 -1
@@ -12,7 +12,6 @@ misc/xen-command-line Xen Hypervisor Command Line Options misc/crashdb Xen crash debugger notes misc/grant-tables A Rough Introduction to Using Grant Tables misc/kexec_and_kdump Kexec and Kdump for Xen -misc/tscmode TSC Mode HOWTO misc/xenstore Xenstore protocol specification misc/xenstore-paths Xenstore path documentation misc/distro_mapping Distro Directory Layouts
docs/man/tscmode.pod.7 renamed from docs/misc/tscmode.txt +74 -35
159 lines not on this page · raw message
docs/man/xl.cfg.pod.5.in +2 -2
@@ -1463,7 +1463,7 @@ determined in the similar way to that of B<default> TSC mode. =back -Please see F<docs/misc/tscmode.txt> for more information on this option. +Please see L<tscmode(7)> for more information on this option. =item B<localtime=BOOLEAN>
@@ -2033,7 +2033,7 @@ natively or via hardware backwards compatibility support. =item L<xl-network-configuration(5)> -=item F<docs/misc/tscmode.txt> +=item L<tscmode(7)> =back
Signature · 7 lines
2.11.0 _______________________________________________ Xen-devel mailing list [email protected] https://lists.xen.org/xen-devel
Re: [PATCH 11/11] docs: convert tscmode.txt into man page
Quoted 4 lines · Cédric Bosdonnat
tscmode.txt is referenced in
xl.cfg(5). Convert it into a pod formatted man page.Signed-off-by Cédric Bosdonnat <[email protected]>
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
Quoted 10 lines · Cédric Bosdonnat
As pointed out in Ian and Andrew's emails on my recent docs improvement attempt, getting the documents from docs/misc referenced in man pages as man pages would would make these pages more visible for users. This would also not break the docs html INDEX.
This series adds ability to write markdown man pages. Be aware that markdown man pages can't link to other man pages.
I also added some pages to man 7 (Misc) section.
Do you have a git branch that I can pull from?
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
Quoted 6 lines · Wei Liu
Quoted 5 lines · Cédric Bosdonnat
As pointed out in Ian and Andrew's emails on my recent docs improvement attempt, getting the documents from docs/misc referenced in man pages as man pages would would make these pages more visible for users. This would also not break the docs html INDEX.
Quoted 7 lines
Quoted 5 lines
This series adds ability to write markdown man pages. Be aware that markdown man pages can't link to other man pages.
I also added some pages to man 7 (Misc) section.
Do you have a git branch that I can pull from?
The docs branch on https://github.com/cbosdo/xen
--
Cedric
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
Quoted 10 lines · Cedric Bosdonnat
Quoted 9 lines · Wei Liu
Quoted 8 lines · Cédric Bosdonnat
As pointed out in Ian and Andrew's emails on my recent docs improvement attempt, getting the documents from docs/misc referenced in man pages as man pages would would make these pages more visible for users. This would also not break the docs html INDEX.
This series adds ability to write markdown man pages. Be aware that markdown man pages can't link to other man pages.
Quoted 6 lines
Quoted 4 lines
Quoted 2 lines
I also added some pages to man 7 (Misc) section.
Do you have a git branch that I can pull from?
The docs branch on https://github.com/cbosdo/xen
I think I've gone through all of the patches. Please address Daniel's comments and resend this series.
Wei.
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
Quoted 14 lines · Wei Liu
Quoted 13 lines · Cedric Bosdonnat
Quoted 12 lines · Wei Liu
Quoted 10 lines · Cédric Bosdonnat
As pointed out in Ian and Andrew's emails on my recent docs improvement attempt, getting the documents from docs/misc referenced in man pages as man pages would would make these pages more visible for users. This would also not break the docs html INDEX.
This series adds ability to write markdown man pages. Be aware that markdown man pages can't link to other man pages.
I also added some pages to man 7 (Misc) section.
Quoted 6 lines
Quoted 3 lines
Quoted 1 line
Do you have a git branch that I can pull from?
The docs branch on https://github.com/cbosdo/xen
I think I've gone through all of the patches. Please address Daniel's comments and resend this series.
They were already addressed in the repo I pointed you to.
--
Cedric
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
Quoted 15 lines · Cedric Bosdonnat
Quoted 14 lines · Wei Liu
Quoted 13 lines · Cedric Bosdonnat
Quoted 12 lines · Wei Liu
Quoted 10 lines · Cédric Bosdonnat
As pointed out in Ian and Andrew's emails on my recent docs improvement attempt, getting the documents from docs/misc referenced in man pages as man pages would would make these pages more visible for users. This would also not break the docs html INDEX.
This series adds ability to write markdown man pages. Be aware that markdown man pages can't link to other man pages.
I also added some pages to man 7 (Misc) section.
Quoted 9 lines
Quoted 6 lines
Quoted 3 lines
Quoted 1 line
Do you have a git branch that I can pull from?
The docs branch on https://github.com/cbosdo/xen
I think I've gone through all of the patches. Please address Daniel's comments and resend this series.
They were already addressed in the repo I pointed you to.
Right. I missed that, sorry.
I think you need some more renaming. tscmode.7 and vbd-interface.7 should have xen- prefix, too.
Wei.
Quoted 2 lines
--
Cedric
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
Quoted 23 lines · Wei Liu
Quoted 22 lines · Cedric Bosdonnat
Quoted 20 lines · Wei Liu
Quoted 10 lines · Cedric Bosdonnat
Quoted 9 lines · Wei Liu
Quoted 8 lines · Cédric Bosdonnat
As pointed out in Ian and Andrew's emails on my recent docs improvement attempt, getting the documents from docs/misc referenced in man pages as man pages would would make these pages more visible for users. This would also not break the docs html INDEX.
This series adds ability to write markdown man pages. Be aware that markdown man pages can't link to other man pages.
Quoted 6 lines
Quoted 4 lines
Quoted 2 lines
I also added some pages to man 7 (Misc) section.
Do you have a git branch that I can pull from?
The docs branch on https://github.com/cbosdo/xen
I think I've gone through all of the patches. Please address Daniel's comments and resend this series.
Quoted 7 lines
Quoted 2 lines
They were already addressed in the repo I pointed you to.
Right. I missed that, sorry.
I think you need some more renaming. tscmode.7 and vbd-interface.7 should have xen- prefix, too.
I just updated my github branch with those changes.
--
Cedric
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
Quoted 27 lines · Cedric Bosdonnat
Quoted 26 lines · Wei Liu
Quoted 24 lines · Cedric Bosdonnat
Quoted 14 lines · Wei Liu
Quoted 13 lines · Cedric Bosdonnat
Quoted 12 lines · Wei Liu
Quoted 10 lines · Cédric Bosdonnat
As pointed out in Ian and Andrew's emails on my recent docs improvement attempt, getting the documents from docs/misc referenced in man pages as man pages would would make these pages more visible for users. This would also not break the docs html INDEX.
This series adds ability to write markdown man pages. Be aware that markdown man pages can't link to other man pages.
I also added some pages to man 7 (Misc) section.
Quoted 6 lines
Quoted 3 lines
Quoted 1 line
Do you have a git branch that I can pull from?
The docs branch on https://github.com/cbosdo/xen
I think I've gone through all of the patches. Please address Daniel's comments and resend this series.
They were already addressed in the repo I pointed you to.
Quoted 7 lines
Quoted 4 lines
Right. I missed that, sorry.
I think you need some more renaming. tscmode.7 and vbd-interface.7 should have xen- prefix, too.
I just updated my github branch with those changes.
Hmm... your branch is missing all your SoBs.
Anyway, I've added that for you and will push this series soon.
Wei.
Quoted 2 lines
--
Cedric
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel