mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
CLOUDSTACK-5039 bugfix: live migration failure in KVM env.
Signed-off-by: ynojima <mail@ynojima.net>
This commit is contained in:
parent
f6f4a93145
commit
b864e677e5
@ -2910,8 +2910,7 @@ ServerResource {
|
||||
try {
|
||||
conn = LibvirtConnection.getConnectionByVmName(cmd.getVmName());
|
||||
ifaces = getInterfaces(conn, vmName);
|
||||
dm = conn.domainLookupByUUID(UUID.nameUUIDFromBytes(vmName
|
||||
.getBytes()));
|
||||
dm = conn.domainLookupByName(vmName);
|
||||
/*
|
||||
We replace the private IP address with the address of the destination host.
|
||||
This is because the VNC listens on the private IP address of the hypervisor,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user