Skip to content

Commit 7e54ca8

Browse files
committed
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.
1 parent 3d53070 commit 7e54ca8

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎engine/orchestration/src/org/apache/cloudstack/engine/orchestration/VolumeOrchestrator.java‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -696,6 +696,8 @@ private ImageFormat getSupportedImageFormatForCluster(HypervisorType hyperType)
696696
return ImageFormat.OVA;
697697
} else if (hyperType == HypervisorType.Ovm) {
698698
return ImageFormat.RAW;
699+
} else if (hyperType == HypervisorType.Hyperv) {
700+
return ImageFormat.VHD;
699701
} else {
700702
return null;
701703
}

0 commit comments

Comments
 (0)