CLOUDSTACK-4235

This commit is contained in:
Mike Tutkowski 2013-08-10 16:56:40 -06:00
parent 8d36a4d80e
commit 48cf866219
1 changed files with 0 additions and 5 deletions

View File

@ -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;