cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mtutkow...@apache.org
Subject git commit: updated refs/heads/4.2 to 48cf866
Date Sat, 10 Aug 2013 22:56:56 GMT
Updated Branches:
  refs/heads/4.2 8d36a4d80 -> 48cf86621


CLOUDSTACK-4235

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

Branch: refs/heads/4.2
Commit: 48cf866219625be7cf35d90f2b6618e6334f8a74
Parents: 8d36a4d
Author: Mike Tutkowski <mike.tutkowski@solidfire.com>
Authored: Sat Aug 10 16:56:40 2013 -0600
Committer: Mike Tutkowski <mike.tutkowski@solidfire.com>
Committed: Sat Aug 10 16:56:40 2013 -0600

----------------------------------------------------------------------
 .../com/cloud/hypervisor/xen/resource/CitrixResourceBase.java   | 5 -----
 1 file changed, 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/48cf8662/plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/CitrixResourceBase.java
----------------------------------------------------------------------
diff --git a/plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/CitrixResourceBase.java
b/plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/CitrixResourceBase.java
index 0a22d22..66798b0 100644
--- a/plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/CitrixResourceBase.java
+++ b/plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/CitrixResourceBase.java
@@ -6498,11 +6498,6 @@ public abstract class CitrixResourceBase implements ServerResource,
HypervisorRe
         }
     }
 
-    // for about 1 GiB of physical size, about 4 MiB seems to be used for metadata
-    private long getMetadata(long physicalSize) {
-    	return (long)(physicalSize * 0.00390625); // 1 GiB / 4 MiB = 0.00390625
-    }
-
     protected VDI handleSrAndVdiAttach(String iqn, String storageHostName,
             String chapInitiatorName, String chapInitiatorPassword) throws Types.XenAPIException,
XmlRpcException, CloudRuntimeException {
         VDI vdi = null;


Mime
View raw message