mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-27 23:15:18 +00:00
qemu: error message should show uri instead of (null)
Fix pointer for error message uri if domain migration fails. BZ# 730244
This commit is contained in:
parent
3261761794
commit
d17101e011
@ -2104,7 +2104,7 @@ static int doPeer2PeerMigrate(struct qemud_driver *driver,
|
|||||||
qemuDomainObjExitRemoteWithDriver(driver, vm);
|
qemuDomainObjExitRemoteWithDriver(driver, vm);
|
||||||
if (dconn == NULL) {
|
if (dconn == NULL) {
|
||||||
qemuReportError(VIR_ERR_OPERATION_FAILED,
|
qemuReportError(VIR_ERR_OPERATION_FAILED,
|
||||||
_("Failed to connect to remote libvirt URI %s"), uri);
|
_("Failed to connect to remote libvirt URI %s"), dconnuri);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user