LibVirtConnection virt;
try {
String uri = config.getSimpleValue("connectionURI", "");
//System.out.println(uri);
virt = new LibVirtConnection(uri);
HVInfo hi = virt.getHVInfo();
res = new DiscoveredResourceDetails(type, "VirtHost." + hi.hostname, hi.hvType + " Hypervisor", ""
+ hi.version, String.format("Libvirt Connection to a %s hypervisor", hi.hvType), null, null);
res.getPluginConfiguration().put(new PropertySimple("connectionURI", virt.getConnectionURI()));
virt.close();
} catch (Throwable t) {