diff --git a/sandbox/libvirt/pom.xml b/sandbox/libvirt/pom.xml index ea5ff6124d..4d1b3d36c0 100644 --- a/sandbox/libvirt/pom.xml +++ b/sandbox/libvirt/pom.xml @@ -41,8 +41,14 @@ org.libvirt libvirt - 0.4.1 + 0.4.6 + + com.sun.jna + jna + 3.0.9 + provided + ${project.groupId} jclouds-core diff --git a/sandbox/libvirt/src/main/java/org/jclouds/libvirt/compute/strategy/LibvirtComputeServiceAdapter.java b/sandbox/libvirt/src/main/java/org/jclouds/libvirt/compute/strategy/LibvirtComputeServiceAdapter.java index 7b818bc958..1a2c9049eb 100644 --- a/sandbox/libvirt/src/main/java/org/jclouds/libvirt/compute/strategy/LibvirtComputeServiceAdapter.java +++ b/sandbox/libvirt/src/main/java/org/jclouds/libvirt/compute/strategy/LibvirtComputeServiceAdapter.java @@ -14,6 +14,7 @@ import org.jclouds.domain.Credentials; import org.jclouds.libvirt.Datacenter; import org.jclouds.libvirt.Hardware; import org.jclouds.libvirt.Image; +import org.libvirt.Connect; import org.libvirt.Domain; import org.libvirt.jna.Libvirt; @@ -26,10 +27,10 @@ import com.google.common.collect.ImmutableSet; */ @Singleton public class LibvirtComputeServiceAdapter implements ComputeServiceAdapter { - private final Libvirt client; + private final Connect client; @Inject - public LibvirtComputeServiceAdapter(Libvirt client) { + public LibvirtComputeServiceAdapter(Connect client) { this.client = checkNotNull(client, "client"); }