[libvirt] [PATCH python v4 7/7] virsh: Introduce virsh-pool command

Cole Robinson crobinso at redhat.com
Thu Jun 16 15:58:59 UTC 2016


On 06/16/2016 04:09 AM, Jovanka Gulicoska wrote:
> Add virsh-pool support for storage pool lifecycle events
> ---
>  tools/virsh-pool.c | 184 +++++++++++++++++++++++++++++++++++++++++++++++++++++
>  1 file changed, 184 insertions(+)
> 

I needed this diff to get things working:

diff --git a/tools/virsh-pool.c b/tools/virsh-pool.c
index cd40749..18e218c 100644
--- a/tools/virsh-pool.c
+++ b/tools/virsh-pool.c
@@ -1966,7 +1966,7 @@ static const vshCmdInfo info_pool_event[] = {
 };

 static const vshCmdOptDef opts_pool_event[] = {
-    {.name = "storage pool",
+    {.name = "pool",
      .type = VSH_OT_STRING,
      .help = N_("filter by storage pool name or uuid")
     },


Also, please extend tools/virsh.pod so this option is documented in the man page.

Thanks,
Cole




More information about the libvir-list mailing list