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

--
libvir-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/libvir-list

Reply via email to