mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-11 15:27:47 +00:00
qemu: migration: Improve p2p error if we can't open conn
By actually showing the Open() error to the user
This commit is contained in:
parent
fd8fa33b54
commit
5751fc4f4e
@ -3472,7 +3472,8 @@ static int doPeer2PeerMigrate(virQEMUDriverPtr driver,
|
|||||||
qemuDomainObjExitRemote(vm);
|
qemuDomainObjExitRemote(vm);
|
||||||
if (dconn == NULL) {
|
if (dconn == NULL) {
|
||||||
virReportError(VIR_ERR_OPERATION_FAILED,
|
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);
|
virObjectUnref(cfg);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user