mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-07 20:27:23 +00:00
qemu: migration: Improve p2p error if we can't open conn
By actually showing the Open() error to the user (cherry picked from commit 5751fc4f4efe25e6abb158fc86c61230303ce280)
This commit is contained in:
parent
9b3455cb78
commit
69de4ce80d
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user