This is an automated email from the ASF dual-hosted git repository.

rohit pushed a commit to branch 4.18
in repository https://gitbox.apache.org/repos/asf/cloudstack.git


The following commit(s) were added to refs/heads/4.18 by this push:
     new 126dd5fa4cf kvm: fix live vm migration between local storage pools 
(#7945)
126dd5fa4cf is described below

commit 126dd5fa4cfd046e69b9e0cf6e11d52213d6905d
Author: Wei Zhou <[email protected]>
AuthorDate: Thu Sep 7 04:52:37 2023 +0200

    kvm: fix live vm migration between local storage pools (#7945)
---
 .../main/java/com/cloud/hypervisor/kvm/resource/LibvirtConnection.java  | 2 --
 1 file changed, 2 deletions(-)

diff --git 
a/plugins/hypervisors/kvm/src/main/java/com/cloud/hypervisor/kvm/resource/LibvirtConnection.java
 
b/plugins/hypervisors/kvm/src/main/java/com/cloud/hypervisor/kvm/resource/LibvirtConnection.java
index 0f8031e3aaa..c70a72f399c 100644
--- 
a/plugins/hypervisors/kvm/src/main/java/com/cloud/hypervisor/kvm/resource/LibvirtConnection.java
+++ 
b/plugins/hypervisors/kvm/src/main/java/com/cloud/hypervisor/kvm/resource/LibvirtConnection.java
@@ -21,7 +21,6 @@ import java.util.Map;
 
 import org.apache.log4j.Logger;
 import org.libvirt.Connect;
-import org.libvirt.Library;
 import org.libvirt.LibvirtException;
 
 import com.cloud.hypervisor.Hypervisor;
@@ -45,7 +44,6 @@ public class LibvirtConnection {
         if (conn == null) {
             s_logger.info("No existing libvirtd connection found. Opening a 
new one");
             conn = new Connect(hypervisorURI, false);
-            Library.initEventLoop();
             s_logger.debug("Successfully connected to libvirt at: " + 
hypervisorURI);
             s_connections.put(hypervisorURI, conn);
         } else {

Reply via email to