Re: [PATCH 14/16] Don't overwrite error when stream send fails

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

 



On 05/12/2011 10:04 AM, Daniel P. Berrange wrote:
> virStreamSend already sets an error message, so don't
> overwrite it
> 
> * src/qemu/qemu_migration.c: Remove bogus error report
> ---
>  src/qemu/qemu_migration.c |    2 --
>  1 files changed, 0 insertions(+), 2 deletions(-)
> 
> diff --git a/src/qemu/qemu_migration.c b/src/qemu/qemu_migration.c
> index ef18ded..d12ffda 100644
> --- a/src/qemu/qemu_migration.c
> +++ b/src/qemu/qemu_migration.c
> @@ -1313,8 +1313,6 @@ static int doTunnelSendAll(virStreamPtr st,
>              break;
>  
>          if (virStreamSend(st, buffer, nbytes) < 0) {
> -            qemuReportError(VIR_ERR_OPERATION_FAILED, "%s",
> -                            _("Failed to write migration data to remote libvirtd"));
>              VIR_FREE(buffer);
>              return -1;
>          }

ACK.

-- 
Eric Blake   eblake@xxxxxxxxxx    +1-801-349-2682
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]