]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
pool-define: update and unify documentation
authorPavel Hrdina <phrdina@redhat.com>
Wed, 25 Feb 2015 14:51:41 +0000 (15:51 +0100)
committerPavel Hrdina <phrdina@redhat.com>
Mon, 9 Mar 2015 13:47:53 +0000 (14:47 +0100)
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1127045

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
src/libvirt-storage.c
tools/virsh-pool.c
tools/virsh.pod

index 54c7332fae5d5358b17d24a611d6398e65e290e3..474f198511a16656d742dc34b72ab5eb007676ab 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * libvirt-storage.c: entry points for virStorage{Pool,Vol}Ptr APIs
  *
- * Copyright (C) 2006-2014 Red Hat, Inc.
+ * Copyright (C) 2006-2015 Red Hat, Inc.
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
@@ -551,8 +551,8 @@ virStoragePoolCreateXML(virConnectPtr conn,
  * @xml: XML description for new pool
  * @flags: extra flags; not used yet, so callers should always pass 0
  *
- * Define a new inactive storage pool based on its XML description. The
- * pool is persistent, until explicitly undefined.
+ * Define an inactive persistent storage pool or modify an existing persistent
+ * one from the XML description.
  *
  * virStoragePoolFree should be used to free the resources after the
  * storage pool object is no longer needed.
index addbcccb0929af5ded2acff196e3038fa7cb076f..485d23daa60f77d199bdf82b4620dfa5a8cc81a7 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * virsh-pool.c: Commands to manage storage pool
  *
- * Copyright (C) 2005, 2007-2014 Red Hat, Inc.
+ * Copyright (C) 2005, 2007-2015 Red Hat, Inc.
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
@@ -397,10 +397,11 @@ cmdPoolCreateAs(vshControl *ctl, const vshCmd *cmd)
  */
 static const vshCmdInfo info_pool_define[] = {
     {.name = "help",
-     .data = N_("define (but don't start) a pool from an XML file")
+     .data = N_("define an inactive persistent storage pool or modify "
+                "an existing persistent one from an XML file")
     },
     {.name = "desc",
-     .data = N_("Define a pool.")
+     .data = N_("Define or modify a persistent storage pool.")
     },
     {.name = NULL}
 };
index 7cff5c4cd8f2108e9ad6fb9c52353567d415a5d4..0ff45c6aadc26ea3d01d317cfc7de8c716e83e1a 100644 (file)
@@ -3089,7 +3089,8 @@ the vHBA.
 
 =item B<pool-define> I<file>
 
-Create, but do not start, a pool object from the XML I<file>.
+Define an inactive persistent storage pool or modify an existing persistent one
+from the XML I<file>.
 
 =item B<pool-define-as> I<name> I<type> [I<--print-xml>]
 [I<--source-host hostname>] [I<--source-path path>] [I<--source-dev path>]