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

Re: [libvirt] [PATCH] virsh: nicer abort of blockcopy



On 08/09/2013 10:54 PM, Eric Blake wrote:
> I attempted 'virsh blockcopy $dom vda $path --wait --verbose', then
> hit Ctrl-C; I was a bit surprised to see this error message:
> 
> Block Copy: [  3 %]error: failed to query job for disk vda
> 
> when I had been expecting:
> 
> Block Copy: [  3 %]
> Copy aborted
> 
> * tools/virsh-domain.c (cmdBlockCopy): Print graceful exit message
> rather than error when ctrl-c interrupts job.
> 
> Signed-off-by: Eric Blake <eblake redhat com>
> ---
>  tools/virsh-domain.c | 10 +++++++---
>  1 file changed, 7 insertions(+), 3 deletions(-)
> 

ACK

Jan


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