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

[libvirt] [PATCH 15/16] Don't overwrite error when stream send fails



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 39b3749..4791bd4 100644
--- a/src/qemu/qemu_migration.c
+++ b/src/qemu/qemu_migration.c
@@ -1348,8 +1348,6 @@ static int doTunnelSendAll(struct qemud_driver *driver,
         qemuDomainObjEnterRemoteWithDriver(driver, vm);
         if (virStreamSend(st, buffer, nbytes) < 0) {
             qemuDomainObjExitRemoteWithDriver(driver, vm);
-            qemuReportError(VIR_ERR_OPERATION_FAILED, "%s",
-                            _("Failed to write migration data to remote libvirtd"));
             VIR_FREE(buffer);
             return -1;
         }
-- 
1.7.4.4


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