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/4.2 to a22d92f
Date Mon, 19 Aug 2013 10:33:18 GMT
Updated Branches:
  refs/heads/4.2 da0bb6300 -> a22d92f1b


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/a22d92f1
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/a22d92f1
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/a22d92f1

Branch: refs/heads/4.2
Commit: a22d92f1bbdf67f6895c3fe1545fc574c531c846
Parents: da0bb63
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:03:03 2013 +0530

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


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/a22d92f1/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 bee4b44..4166d98 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
@@ -1391,6 +1391,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