From: Simon Kuenzer Date: Fri, 11 Aug 2023 13:10:37 +0000 (+0200) Subject: plat/kvm: Add configuration hint for EFI X-Git-Tag: RELEASE-0.14.0~48 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=750096a9238f52a311c725e01747085af4b6bab0;p=unikraft%2Funikraft.git plat/kvm: Add configuration hint for EFI Adds an hint in `menuconfig` that appears if the configuration dependencies are not met for building a QEMU image compatible to boot from an EFI firmware. Signed-off-by: Simon Kuenzer Reviewed-by: Sergiu Moga Approved-by: Razvan Deaconescu Tested-by: Unikraft CI GitHub-Closes: #1038 --- diff --git a/plat/kvm/Config.uk b/plat/kvm/Config.uk index 14369a213..7ac949a27 100644 --- a/plat/kvm/Config.uk +++ b/plat/kvm/Config.uk @@ -15,7 +15,7 @@ menuconfig PLAT_KVM if (PLAT_KVM) choice - prompt "Booting environment" + prompt "Boot protocol" config KVM_BOOT_PROTO_MULTIBOOT bool "Multiboot" @@ -43,6 +43,8 @@ config KVM_BOOT_EFI_STUB help Make Unikraft bootable by UEFI firmware +comment "Hint: EFI stub depends on OPTIMIZE_PIE" + depends on !OPTIMIZE_PIE && !KVM_VMM_FIRECRACKER endchoice if KVM_BOOT_EFI_STUB