]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
docs: convert virt-host-validate man page from pod to rst
authorDaniel P. Berrangé <berrange@redhat.com>
Fri, 18 Oct 2019 14:29:47 +0000 (15:29 +0100)
committerDaniel P. Berrangé <berrange@redhat.com>
Wed, 11 Dec 2019 14:28:41 +0000 (14:28 +0000)
This was a semi-automated conversion. First it was run through pod2rst,
and then it was manually editted to use a rst structure that matches
expectations of rst2man.

Reviewed-by: Cole Robinson <crobinso@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
docs/Makefile.am
docs/manpages/index.rst
docs/manpages/virt-host-validate.rst [new file with mode: 0644]
tools/Makefile.am
tools/virt-host-validate.pod [deleted file]

index 8ecfdc5307e86f2e86ce74f196db98920374e125..b008133ca810cb2b4a59a8309c46becc052629b0 100644 (file)
@@ -224,6 +224,11 @@ manpages_rst += \
   manpages/virtlogd.rst \
   $(NULL)
 endif ! WITH_LIBVIRTD
+if WITH_HOST_VALIDATE
+  manpages1_rst += manpages/virt-host-validate.rst
+else ! WITH_HOST_VALIDATE
+  manpages_rst += manpages/virt-host-validate.rst
+endif ! WITH_HOST_VALIDATE
 manpages_rst_html_in = \
   $(manpages_rst:%.rst=%.html.in)
 manpages_html = \
index 8544fb2501560431db545c72bc40dd940d39ae74..a54596091990e006d1bb5904bf9920a387435373 100644 (file)
@@ -8,3 +8,8 @@ Daemons
 * `libvirtd(8) <libvirtd.html>`__ - libvirt management daemon
 * `virtlockd(8) <virtlockd.html>`__ - libvirt lock management daemon
 * `virtlogd(8) <virtlogd.html>`__ - libvirt log management daemon
+
+Tools
+=====
+
+* `virt-host-validate(1) <virt-host-validate.html>`__ - validate host virtualization setup
diff --git a/docs/manpages/virt-host-validate.rst b/docs/manpages/virt-host-validate.rst
new file mode 100644 (file)
index 0000000..0738694
--- /dev/null
@@ -0,0 +1,95 @@
+==================
+virt-host-validate
+==================
+
+----------------------------------
+validate host virtualization setup
+----------------------------------
+
+:Manual section: 1
+:Manual group: Virtualization Support
+
+.. contents::
+
+SYNOPSIS
+========
+
+``virt-host-validate`` [*OPTIONS*...] [*HV-TYPE*]
+
+
+DESCRIPTION
+===========
+
+This tool validates that the host is configured in a suitable
+way to run libvirt hypervisor drivers. If invoked without any
+arguments it will check support for all hypervisor drivers it
+is aware of. Optionally it can be given a particular hypervisor
+type (``qemu``, ``lxc`` or ``bhyve``) to restrict the checks
+to those relevant for that virtualization technology
+
+
+OPTIONS
+=======
+
+``-v``, ``--version``
+
+Display the command version
+
+``-h``, ``--help``
+
+Display the command line help
+
+``-q``, ``--quiet``
+
+Don't display details of individual checks being performed.
+Only display output if a check does not pass.
+
+
+EXIT STATUS
+===========
+
+Upon successful validation, an exit status of 0 will be set. Upon
+failure a non-zero status will be set.
+
+AUTHOR
+======
+
+Daniel P. Berrangé
+
+
+BUGS
+====
+
+Please report all bugs you discover.  This should be done via either:
+
+#. the mailing list
+
+   `https://libvirt.org/contact.html <https://libvirt.org/contact.html>`_
+
+#. the bug tracker
+
+   `https://libvirt.org/bugs.html <https://libvirt.org/bugs.html>`_
+
+Alternatively, you may report bugs to your software distributor / vendor.
+
+
+COPYRIGHT
+=========
+
+Copyright (C) 2012 by Red Hat, Inc.
+
+
+LICENSE
+=======
+
+``virt-host-validate`` is distributed under the terms of the GNU GPL v2+.
+This is free software; see the source for copying conditions. There
+is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE
+
+
+SEE ALSO
+========
+
+virsh(1), virt-pki-validate(1), virt-xml-validate(1),
+`https://libvirt.org/ <https://libvirt.org/>`_
index d2e2b8614f8997d09f8f8016bd1569d8f756f970..74aa9fbab190225dbeee7a99c782701e565ac128 100644 (file)
@@ -54,7 +54,6 @@ ICON_FILES = \
 
 PODFILES = \
        virt-admin.pod \
-       virt-host-validate.pod \
        virt-login-shell.pod \
        virt-pki-validate.pod \
        virt-sanlock-cleanup.pod \
@@ -64,7 +63,6 @@ PODFILES = \
 
 MANINFILES = \
        virt-admin.1.in \
-       virt-host-validate.1.in \
        virt-login-shell.1.in \
        virt-pki-validate.1.in \
        virt-sanlock-cleanup.8.in \
@@ -118,7 +116,6 @@ endif WITH_LOGIN_SHELL
 
 if WITH_HOST_VALIDATE
 bin_PROGRAMS += virt-host-validate
-man1_MANS += virt-host-validate.1
 endif WITH_HOST_VALIDATE
 
 virt-xml-validate: virt-xml-validate.in Makefile
diff --git a/tools/virt-host-validate.pod b/tools/virt-host-validate.pod
deleted file mode 100644 (file)
index 121bb7e..0000000
+++ /dev/null
@@ -1,68 +0,0 @@
-=head1 NAME
-
-virt-host-validate - validate host virtualization setup
-
-=head1 SYNOPSIS
-
-B<virt-host-validate> [I<OPTIONS>...] [I<HV-TYPE>]
-
-=head1 DESCRIPTION
-
-This tool validates that the host is configured in a suitable
-way to run libvirt hypervisor drivers. If invoked without any
-arguments it will check support for all hypervisor drivers it
-is aware of. Optionally it can be given a particular hypervisor
-type ('qemu', 'lxc' or 'bhyve') to restrict the checks
-to those relevant for that virtualization technology
-
-=head1 OPTIONS
-
-=over 4
-
-=item C<-v>, C<--version>
-
-Display the command version
-
-=item C<-h>, C<--help>
-
-Display the command line help
-
-=item C<-q>, C<--quiet>
-
-Don't display details of individual checks being performed.
-Only display output if a check does not pass.
-
-=back
-
-=head1 EXIT STATUS
-
-Upon successful validation, an exit status of 0 will be set. Upon
-failure a non-zero status will be set.
-
-=head1 AUTHOR
-
-Daniel P. Berrange
-
-=head1 BUGS
-
-Report any bugs discovered to the libvirt community via the
-mailing list L<https://libvirt.org/contact.html> or bug tracker
-L<https://libvirt.org/bugs.html>.
-Alternatively report bugs to your software distributor / vendor.
-
-=head1 COPYRIGHT
-
-Copyright (C) 2012 by Red Hat, Inc.
-
-=head1 LICENSE
-
-virt-host-validate is distributed under the terms of the GNU GPL v2+.
-This is free software; see the source for copying conditions. There
-is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
-PURPOSE
-
-=head1 SEE ALSO
-
-L<virsh(1)>, L<virt-pki-validate(1)>, L<virt-xml-validate(1)>
-
-=cut