[libvirt] [PATCH] virsh: nicer abort of blockcopy
Ján Tomko
jtomko at redhat.com
Mon Aug 12 16:50:10 UTC 2013
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 at redhat.com>
> ---
> tools/virsh-domain.c | 10 +++++++---
> 1 file changed, 7 insertions(+), 3 deletions(-)
>
ACK
Jan
More information about the libvir-list
mailing list