You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ki...@apache.org on 2013/11/07 16:35:53 UTC

git commit: updated refs/heads/master to b864e67

Updated Branches:
  refs/heads/master f6f4a9314 -> b864e677e


CLOUDSTACK-5039 bugfix: live migration failure in KVM env.

Signed-off-by: ynojima <ma...@ynojima.net>


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/b864e677
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/b864e677
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/b864e677

Branch: refs/heads/master
Commit: b864e677e5d007e10b73f10120d86dc97684de6c
Parents: f6f4a93
Author: ynojima <ma...@ynojima.net>
Authored: Mon Nov 4 21:50:14 2013 -0700
Committer: Kishan Kavala <ki...@cloud.com>
Committed: Thu Nov 7 20:56:23 2013 +0530

----------------------------------------------------------------------
 .../cloud/hypervisor/kvm/resource/LibvirtComputingResource.java   | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/b864e677/plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtComputingResource.java
----------------------------------------------------------------------
diff --git a/plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtComputingResource.java b/plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtComputingResource.java
index 570eae6..00412d2 100755
--- a/plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtComputingResource.java
+++ b/plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtComputingResource.java
@@ -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,