[libvirt] [PATCH 5/9] virsh: domjobinfo: Print also job operation for failed jobs

Eric Blake eblake at redhat.com
Tue Nov 26 21:46:57 UTC 2019


On 11/25/19 9:01 AM, Peter Krempa wrote:
> Printing that a job failed is rather unhelpful. Print at least the
> operation which failed.
> 
> Achieve this by moving the check whether to print stats later but
> replace it with a check which will skip printing of the operation if
> there's no job.
> 
> Signed-off-by: Peter Krempa <pkrempa at redhat.com>
> ---
>   tools/virsh-domain.c | 14 ++++++++++----
>   1 file changed, 10 insertions(+), 4 deletions(-)
> 

Reviewed-by: Eric Blake <eblake at redhat.com>

-- 
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3226
Virtualization:  qemu.org | libvirt.org




More information about the libvir-list mailing list