You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by de...@apache.org on 2013/12/26 14:41:53 UTC

git commit: updated refs/heads/4.3 to 7e54ca8

Updated Branches:
  refs/heads/4.3 3d530708a -> 7e54ca883


CLOUDSTACK-5456: Download root volume when vm is in stopped state fails on hyper-v. Made
changes to make sure the volume entry is created in the db with the right image format.


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

Branch: refs/heads/4.3
Commit: 7e54ca883124c7d3a2af1a4f74b5002e4789aa9e
Parents: 3d53070
Author: Devdeep Singh <de...@gmail.com>
Authored: Thu Dec 26 19:11:11 2013 +0530
Committer: Devdeep Singh <de...@gmail.com>
Committed: Thu Dec 26 19:11:11 2013 +0530

----------------------------------------------------------------------
 .../apache/cloudstack/engine/orchestration/VolumeOrchestrator.java | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/7e54ca88/engine/orchestration/src/org/apache/cloudstack/engine/orchestration/VolumeOrchestrator.java
----------------------------------------------------------------------
diff --git a/engine/orchestration/src/org/apache/cloudstack/engine/orchestration/VolumeOrchestrator.java b/engine/orchestration/src/org/apache/cloudstack/engine/orchestration/VolumeOrchestrator.java
index c8b475c..7a5dbf6 100644
--- a/engine/orchestration/src/org/apache/cloudstack/engine/orchestration/VolumeOrchestrator.java
+++ b/engine/orchestration/src/org/apache/cloudstack/engine/orchestration/VolumeOrchestrator.java
@@ -696,6 +696,8 @@ public class VolumeOrchestrator extends ManagerBase implements VolumeOrchestrati
             return ImageFormat.OVA;
         } else if (hyperType == HypervisorType.Ovm) {
             return ImageFormat.RAW;
+        } else if (hyperType == HypervisorType.Hyperv) {
+            return ImageFormat.VHD;
         } else {
             return null;
         }