sureshanaparti commented on a change in pull request #3638: UEFI Support on
CloudStack
URL: https://github.com/apache/cloudstack/pull/3638#discussion_r356214635
##########
File path: server/src/main/java/com/cloud/server/ManagementServerImpl.java
##########
@@ -1183,6 +1187,16 @@ private HypervisorType getHypervisorType(VMInstanceVO
vm, StoragePool srcVolumeP
throw ex;
}
+ UserVmDetailVO userVmDetailVO =
_UserVmDetailsDao.findDetail(vm.getId(), "UEFI");
+ if (userVmDetailVO != null){
+ s_logger.info(" Live Migration of UEFI enabled VM : " +
vm.getInstanceName()+ " is not supported");
+ if("legacy".equalsIgnoreCase(userVmDetailVO.getValue()) ||
"secure".equalsIgnoreCase(userVmDetailVO.getValue())) {
Review comment:
enum for boot mode
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services