mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 22:25:25 +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);
|
||||
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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user