提交 69de4ce8 编写于 作者: C Cole Robinson

qemu: migration: Improve p2p error if we can't open conn

By actually showing the Open() error to the user
(cherry picked from commit 5751fc4f)
上级 9b3455cb
......@@ -3512,7 +3512,8 @@ static int doPeer2PeerMigrate(virQEMUDriverPtr driver,
qemuDomainObjExitRemote(vm);
if (dconn == NULL) {
virReportError(VIR_ERR_OPERATION_FAILED,
_("Failed to connect to remote libvirt URI %s"), dconnuri);
_("Failed to connect to remote libvirt URI %s: %s"),
dconnuri, virGetLastErrorMessage());
virObjectUnref(cfg);
return -1;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册