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

Message ID 723272b5-670e-bce8-9203-6de641756e8b@redhat.com
State New
Headers show

Commit Message

Cole Robinson June 16, 2016, 3:58 p.m.
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:



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

Thanks,
Cole

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

Patch hide | download patch | download mbox

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")
     },