[libvirt] [PATCH v2 5/8] virsh: Add support for completed job stats

Jiri Denemark jdenemar at redhat.com
Fri Sep 12 07:07:33 UTC 2014


On Tue, Sep 09, 2014 at 11:54:09 +0200, Jiri Denemark wrote:
> New --completed flag for virsh domjobinfo command.
> 
> Signed-off-by: Jiri Denemark <jdenemar at redhat.com>
> ---
> 
> Notes:
>     Version 2:
>     - enhanced virsh man page
> 
>  tools/virsh-domain.c | 27 ++++++++++++++++++++++++---
>  tools/virsh.pod      |  7 +++++--
>  2 files changed, 29 insertions(+), 5 deletions(-)
> 
> diff --git a/tools/virsh-domain.c b/tools/virsh-domain.c
> index ed2e3ea..70960b4 100644
> --- a/tools/virsh-domain.c
> +++ b/tools/virsh-domain.c
> @@ -5115,6 +5115,10 @@ static const vshCmdOptDef opts_resume[] = {
>       .flags = VSH_OFLAG_REQ,
>       .help = N_("domain name, id or uuid")
>      },
> +    {.name = "completed",
> +     .type = VSH_OT_BOOL,
> +     .help = N_("return statistics of a recently completed job")
> +    },
>      {.name = NULL}
>  };
>  

Oops, the *** git rebase did this once again to me... It moved the
--completed option from domjobinfo to resume command. I'll fix this
soon.

Jirka




More information about the libvir-list mailing list