[libvirt] [PATCH] virsh: nicer abort of blockcopy
Eric Blake
eblake at redhat.com
Mon Aug 12 17:05:17 UTC 2013
On 08/12/2013 10:50 AM, Ján Tomko wrote:
> 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
Thanks; pushed.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 621 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20130812/027c4bf3/attachment-0001.sig>
More information about the libvir-list
mailing list