We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0bb05f7 commit 126dd5fCopy full SHA for 126dd5f
plugins/hypervisors/kvm/src/main/java/com/cloud/hypervisor/kvm/resource/LibvirtConnection.java
@@ -21,7 +21,6 @@
21
22
import org.apache.log4j.Logger;
23
import org.libvirt.Connect;
24
-import org.libvirt.Library;
25
import org.libvirt.LibvirtException;
26
27
import com.cloud.hypervisor.Hypervisor;
@@ -45,7 +44,6 @@ static public Connect getConnection(String hypervisorURI) throws LibvirtExceptio
45
44
if (conn == null) {
46
s_logger.info("No existing libvirtd connection found. Opening a new one");
47
conn = new Connect(hypervisorURI, false);
48
- Library.initEventLoop();
49
s_logger.debug("Successfully connected to libvirt at: " + hypervisorURI);
50
s_connections.put(hypervisorURI, conn);
51
} else {
0 commit comments