Re: [PATCH] virsh: blockcopy: Report error if the copy job fails

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

 



On 06/19/2015 07:46 AM, Peter Krempa wrote:
> When the block job would fail while watching it using the "--wait"
> option for blockcopy, virsh would rather unhelpfully report:
> 
> $ virsh blockcopy vm hdc /tmp/raw.img --granularity 4096 --verbose --wait
> 
> Now in mirroring phase
> 
> Add a special case when the block job vanishes while waiting for it to
> finish to improve the message:
> 
> $ virsh blockcopy vm hdc /tmp/raw.img --granularity 8192 --verbose --wait
> error: Block Copy unexpectedly failed
> ---
>  tools/virsh-domain.c | 7 +++++--
>  1 file changed, 5 insertions(+), 2 deletions(-)

ACK.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

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