mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
kvm: fix live vm migration between local storage pools (#7945)
This commit is contained in:
parent
0bb05f7871
commit
126dd5fa4c
@ -21,7 +21,6 @@ import java.util.Map;
|
|||||||
|
|
||||||
import org.apache.log4j.Logger;
|
import org.apache.log4j.Logger;
|
||||||
import org.libvirt.Connect;
|
import org.libvirt.Connect;
|
||||||
import org.libvirt.Library;
|
|
||||||
import org.libvirt.LibvirtException;
|
import org.libvirt.LibvirtException;
|
||||||
|
|
||||||
import com.cloud.hypervisor.Hypervisor;
|
import com.cloud.hypervisor.Hypervisor;
|
||||||
@ -45,7 +44,6 @@ public class LibvirtConnection {
|
|||||||
if (conn == null) {
|
if (conn == null) {
|
||||||
s_logger.info("No existing libvirtd connection found. Opening a new one");
|
s_logger.info("No existing libvirtd connection found. Opening a new one");
|
||||||
conn = new Connect(hypervisorURI, false);
|
conn = new Connect(hypervisorURI, false);
|
||||||
Library.initEventLoop();
|
|
||||||
s_logger.debug("Successfully connected to libvirt at: " + hypervisorURI);
|
s_logger.debug("Successfully connected to libvirt at: " + hypervisorURI);
|
||||||
s_connections.put(hypervisorURI, conn);
|
s_connections.put(hypervisorURI, conn);
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user