Skip to content

Commit 1dc940a

Browse files
sureshanapartidhslove
authored andcommitted
uefi property typo (apache#11929)
1 parent fdd06cb commit 1dc940a

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

plugins/hypervisors/kvm/src/main/java/com/cloud/hypervisor/kvm/resource/LibvirtComputingResource.java

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3589,13 +3589,13 @@ private void configureGuestIfUefiEnabled(boolean isSecureBoot, String bootMode,
35893589
setGuestLoader(bootMode, SECURE, guest, GuestDef.GUEST_LOADER_SECURE);
35903590
setGuestLoader(bootMode, LEGACY, guest, GuestDef.GUEST_LOADER_LEGACY);
35913591

3592-
if (isUefiPropertieNotNull(GuestDef.GUEST_NVRAM_PATH)) {
3592+
if (isUefiPropertyNotNull(GuestDef.GUEST_NVRAM_PATH)) {
35933593
guest.setNvram(uefiProperties.getProperty(GuestDef.GUEST_NVRAM_PATH));
35943594
}
35953595

3596-
if (isSecureBoot && isUefiPropertieNotNull(GuestDef.GUEST_NVRAM_TEMPLATE_SECURE) && SECURE.equalsIgnoreCase(bootMode)) {
3596+
if (isSecureBoot && isUefiPropertyNotNull(GuestDef.GUEST_NVRAM_TEMPLATE_SECURE) && SECURE.equalsIgnoreCase(bootMode)) {
35973597
guest.setNvramTemplate(uefiProperties.getProperty(GuestDef.GUEST_NVRAM_TEMPLATE_SECURE));
3598-
} else if (isUefiPropertieNotNull(GuestDef.GUEST_NVRAM_TEMPLATE_LEGACY)) {
3598+
} else if (isUefiPropertyNotNull(GuestDef.GUEST_NVRAM_TEMPLATE_LEGACY)) {
35993599
guest.setNvramTemplate(uefiProperties.getProperty(GuestDef.GUEST_NVRAM_TEMPLATE_LEGACY));
36003600

36013601
// UEFI Lagacy 실행 파일 포맷 설정
@@ -3604,14 +3604,14 @@ private void configureGuestIfUefiEnabled(boolean isSecureBoot, String bootMode,
36043604
}
36053605
}
36063606

3607-
private void setGuestLoader(String bootMode, String mode, GuestDef guest, String propertie) {
3608-
if (isUefiPropertieNotNull(propertie) && mode.equalsIgnoreCase(bootMode)) {
3609-
guest.setLoader(uefiProperties.getProperty(propertie));
3607+
private void setGuestLoader(String bootMode, String mode, GuestDef guest, String property) {
3608+
if (isUefiPropertyNotNull(property) && mode.equalsIgnoreCase(bootMode)) {
3609+
guest.setLoader(uefiProperties.getProperty(property));
36103610
}
36113611
}
36123612

3613-
private boolean isUefiPropertieNotNull(String propertie) {
3614-
return uefiProperties.getProperty(propertie) != null;
3613+
private boolean isUefiPropertyNotNull(String property) {
3614+
return uefiProperties.getProperty(property) != null;
36153615
}
36163616

36173617
public boolean isGuestAarch64() {

0 commit comments

Comments
 (0)