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:59:02 UTC

git commit: updated refs/heads/master to 30d55cf

Updated Branches:
  refs/heads/master ad33f0ad6 -> 30d55cf0c


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

Branch: refs/heads/master
Commit: 30d55cf0c45977b3be3d52c703f9a475e5a748b7
Parents: ad33f0a
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:13:31 2013 +0530

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


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/30d55cf0/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 60e5818..e7126a2 100644
--- a/engine/orchestration/src/org/apache/cloudstack/engine/orchestration/VolumeOrchestrator.java
+++ b/engine/orchestration/src/org/apache/cloudstack/engine/orchestration/VolumeOrchestrator.java
@@ -628,6 +628,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;
         }