cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mlsoren...@apache.org
Subject git commit: updated refs/heads/4.5 to 0a8e73e
Date Fri, 23 Jan 2015 09:44:37 GMT
Repository: cloudstack
Updated Branches:
  refs/heads/4.5 46301cbaf -> 0a8e73e8f


LibvirtComputingResource: Expose KVMStoragePoolManager

KVMStoragePoolManager is a singleton in practice, any plugin
or extension of LibvirtComputingResource will need to act on
the specific instance of KVMStoragePoolManager that LibvirtComputingResource
has initialized. Therefore, expose this variable for those who
wish to call storage commands from plugins or extensions.

Conflicts:

	plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtComputingResource.java


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/0a8e73e8
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/0a8e73e8
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/0a8e73e8

Branch: refs/heads/4.5
Commit: 0a8e73e8fe6a7077c90c55880d556f0f883fc83f
Parents: 46301cb
Author: Marcus Sorensen <marcus_sorensen@apple.com>
Authored: Fri Jan 23 02:44:08 2015 -0700
Committer: Marcus Sorensen <marcus_sorensen@apple.com>
Committed: Fri Jan 23 02:44:08 2015 -0700

----------------------------------------------------------------------
 .../cloud/hypervisor/kvm/resource/LibvirtComputingResource.java  | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/0a8e73e8/plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtComputingResource.java
----------------------------------------------------------------------
diff --git a/plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtComputingResource.java
b/plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtComputingResource.java
index 691601f..f2dfc4c 100755
--- a/plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtComputingResource.java
+++ b/plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtComputingResource.java
@@ -4075,6 +4075,10 @@ public class LibvirtComputingResource extends ServerResourceBase implements
Serv
         return _storagePoolMgr.disconnectPhysicalDiskByPath(path);
     }
 
+    protected KVMStoragePoolManager getPoolManager() {
+        return _storagePoolMgr;
+    }
+
     protected synchronized String attachOrDetachISO(Connect conn, String vmName, String isoPath,
boolean isAttach) throws LibvirtException, URISyntaxException,
     InternalErrorException {
         String isoXml = null;


Mime
View raw message