提交 5a6ca96a 编写于 作者: D Daniel P. Berrange

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
上级 2bf92bb8
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册