Re: [PATCH] virsh: nicer abort of blockcopy

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

 



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@xxxxxxxxxx>
> ---
>  tools/virsh-domain.c | 10 +++++++---
>  1 file changed, 7 insertions(+), 3 deletions(-)
> 

ACK

Jan

--
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]