sureshanaparti commented on a change in pull request #3638: UEFI Support on CloudStack URL: https://github.com/apache/cloudstack/pull/3638#discussion_r356214213
########## File path: server/src/main/java/com/cloud/hypervisor/HypervisorGuruBase.java ########## @@ -166,6 +166,11 @@ protected VirtualMachineTO toVirtualMachineTO(VirtualMachineProfile vmProfile) { offering.getRamSize() * 1024l * 1024l, null, null, vm.isHaEnabled(), vm.limitCpuUse(), vm.getVncPassword()); to.setBootArgs(vmProfile.getBootArgs()); + String bootType = (String)vmProfile.getParameter(new VirtualMachineProfile.Param("BootType")); + if (bootType != null && !bootType.isEmpty()) { Review comment: can use StringUtils ---------------------------------------------------------------- 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: us...@infra.apache.org With regards, Apache Git Services