cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ni...@apache.org
Subject git commit: updated refs/heads/master to 9de7e0a
Date Mon, 19 Aug 2013 10:34:26 GMT
Updated Branches:
  refs/heads/master 0eb169087 -> 9de7e0af1


CLOUDSTACK-4386
XS Creating templates from volume - send the physical size in the copycommand which accordingly
will populate template store ref and the usage_event tables with the right physical size
Signed off by : nitin mehta<nitin.mehta@citrix.com>


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

Branch: refs/heads/master
Commit: 9de7e0af18c20f22ad89d5c67f8338bac278592c
Parents: 0eb1690
Author: Nitin Mehta <nitin.mehta@citrix.com>
Authored: Mon Aug 19 16:03:03 2013 +0530
Committer: Nitin Mehta <nitin.mehta@citrix.com>
Committed: Mon Aug 19 16:04:12 2013 +0530

----------------------------------------------------------------------
 .../cloud/hypervisor/xen/resource/XenServerStorageProcessor.java    | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/9de7e0af/plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/XenServerStorageProcessor.java
----------------------------------------------------------------------
diff --git a/plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/XenServerStorageProcessor.java
b/plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/XenServerStorageProcessor.java
index 60f1ef9..981f147 100644
--- a/plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/XenServerStorageProcessor.java
+++ b/plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/XenServerStorageProcessor.java
@@ -1379,6 +1379,7 @@ public class XenServerStorageProcessor implements StorageProcessor {
             newTemplate.setPath(installPath);
             newTemplate.setFormat(ImageFormat.VHD);
             newTemplate.setSize(virtualSize);
+            newTemplate.setPhysicalSize(physicalSize);
             CopyCmdAnswer answer = new CopyCmdAnswer(newTemplate);
             return answer;
         } catch (Exception e) {


Mime
View raw message