[libvirt] [PATCH 0/2] virsh: man: Tweak some old docs problems

Peter Krempa (2): virsh: man: Fix examples and docs for virsh version virsh: man: Correctly spell QEMU tools/virsh.pod | 29 +++++++++++++++++------------ 1 file changed, 17 insertions(+), 12 deletions(-) -- 1.9.3

The version command now takes the --daemon parameter for a while and the output example was pretty outdated. Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1110673 --- tools/virsh.pod | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/tools/virsh.pod b/tools/virsh.pod index 35cf878..b522798 100644 --- a/tools/virsh.pod +++ b/tools/virsh.pod @@ -206,23 +206,28 @@ option instead. For example: quit this interactive terminal -=item B<version> +=item B<version> [I<--daemon>] Will print out the major version info about what this built from. +If I<--daemon> is specified then the version of the libvirt daemon +is included in the output. =over 4 B<Example> -B<virsh> version - -Compiled against library: libvir 0.0.6 - -Using library: libvir 0.0.6 - -Using API: Xen 3.0.0 - -Running hypervisor: Xen 3.0.0 + $ virsh version + Compiled against library: libvirt 1.2.3 + Using library: libvirt 1.2.3 + Using API: QEMU 1.2.3 + Running hypervisor: QEMU 2.0.50 + + $ virsh version --daemon + Compiled against library: libvirt 1.2.3 + Using library: libvirt 1.2.3 + Using API: QEMU 1.2.3 + Running hypervisor: QEMU 2.0.50 + Running against daemon: 1.2.6 =back -- 1.9.3

s/QEemu/QEMU/g --- tools/virsh.pod | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/virsh.pod b/tools/virsh.pod index b522798..ceec1a0 100644 --- a/tools/virsh.pod +++ b/tools/virsh.pod @@ -19,7 +19,7 @@ under the GNU Lesser General Public License. Virtualization of the Linux Operating System means the ability to run multiple instances of Operating Systems concurrently on a single hardware system where the basic resources are driven by a Linux instance. The library aims at -providing a long term stable C API. It currently supports Xen, QEmu, +providing a long term stable C API. It currently supports Xen, QEMU, KVM, LXC, OpenVZ, VirtualBox and VMware ESX. The basic structure of most virsh usage is: @@ -260,11 +260,11 @@ this is used to connect to the local Xen hypervisor =item qemu:///system -connect locally as root to the daemon supervising QEmu and KVM domains +connect locally as root to the daemon supervising QEMU and KVM domains =item qemu:///session -connect locally as a normal user to his own set of QEmu and KVM domains +connect locally as a normal user to his own set of QEMU and KVM domains =item lxc:/// -- 1.9.3

On 06/18/14 12:06, Ján Tomko wrote:
On 06/18/2014 11:28 AM, Peter Krempa wrote:
Peter Krempa (2): virsh: man: Fix examples and docs for virsh version virsh: man: Correctly spell QEMU
tools/virsh.pod | 29 +++++++++++++++++------------ 1 file changed, 17 insertions(+), 12 deletions(-)
ACK
Pushed; Thanks. Peter
participants (2)
-
Ján Tomko
-
Peter Krempa