From c9ffd3ea9e3019b05d300276f25c82ba2d5997b8 Mon Sep 17 00:00:00 2001 From: John Ferlan Date: Wed, 3 Dec 2014 19:46:54 -0500 Subject: [PATCH] virsh.pod: Fix the pool-define-as and pool-create-as description Properly format the options and provide meaningful descriptions for the various options. --- tools/virsh.pod | 33 +++++++++++++++++++++++++++------ 1 file changed, 27 insertions(+), 6 deletions(-) diff --git a/tools/virsh.pod b/tools/virsh.pod index 7cde3fd1bd..1b31597326 100644 --- a/tools/virsh.pod +++ b/tools/virsh.pod @@ -2956,28 +2956,49 @@ data on the target device is overwritten unconditionally. Create and start a pool object from the XML I. -=item B I I<--print-xml> I [I] -[I] [I] [I] [] -[I<--source-format format>] +=item B I I [I<--print-xml>] +[I<--source-host hostname>] [I<--source-path path>] [I<--source-dev path>] +[I<--source-name name>] [I<--target path>] [I<--source-format format>] Create and start a pool object I from the raw parameters. If I<--print-xml> is specified, then print the XML of the pool object without creating the pool. Otherwise, the pool has the specified I. +[I<--source-host hostname>] provides the source hostname for pools backed +by storage from a remote server (pool types netfs, iscsi, rbd, sheepdog, +gluster). + +[I<--source-path path>] provides the source directory path for pools backed +by directories (pool type dir). + +[I<--source-dev path>] provides the source path for pools backed by physical +devices (pool types fs, logical, disk, iscsi, zfs). + +[I<--source-name name>] provides the source name for pools backed by storage +from a named element (pool types logical, rbd, sheepdog, gluster). + +[I<--target path>] is the path for the mapping of the storage pool into +the host file system. + +[I<--source-format format>] provides information about the format of the +pool (pool types fs, netfs, disk, logical). + =item B I Create, but do not start, a pool object from the XML I. -=item B I I<--print-xml> I [I] -[I] [I] [I] [] -[I<--source-format format>] +=item B I I [I<--print-xml>] +[I<--source-host hostname>] [I<--source-path path>] [I<--source-dev path>] +[I<--source-name name>] [I<--target path>] [I<--source-format format>] Create, but do not start, a pool object I from the raw parameters. If I<--print-xml> is specified, then print the XML of the pool object without defining the pool. Otherwise, the pool has the specified I. +Use the same arguments as B. + =item B I Destroy (stop) a given I object. Libvirt will no longer manage the -- GitLab