mirror of https://gitee.com/openkylin/libvirt.git
Fix p2p migration without a passed uri.
This commit is contained in:
parent
48a7637d9f
commit
64f920d056
|
@ -3217,7 +3217,7 @@ virDomainMigrate (virDomainPtr domain,
|
|||
char *dstURI = NULL;
|
||||
if (uri == NULL) {
|
||||
dstURI = virConnectGetURI(dconn);
|
||||
if (!uri)
|
||||
if (!dstURI)
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue