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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]