Skip to content

Commit 126dd5f

Browse files
kvm: fix live vm migration between local storage pools (#7945)
1 parent 0bb05f7 commit 126dd5f

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

plugins/hypervisors/kvm/src/main/java/com/cloud/hypervisor/kvm/resource/LibvirtConnection.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121

2222
import org.apache.log4j.Logger;
2323
import org.libvirt.Connect;
24-
import org.libvirt.Library;
2524
import org.libvirt.LibvirtException;
2625

2726
import com.cloud.hypervisor.Hypervisor;
@@ -45,7 +44,6 @@ static public Connect getConnection(String hypervisorURI) throws LibvirtExceptio
4544
if (conn == null) {
4645
s_logger.info("No existing libvirtd connection found. Opening a new one");
4746
conn = new Connect(hypervisorURI, false);
48-
Library.initEventLoop();
4947
s_logger.debug("Successfully connected to libvirt at: " + hypervisorURI);
5048
s_connections.put(hypervisorURI, conn);
5149
} else {

0 commit comments

Comments
 (0)