From 750096a9238f52a311c725e01747085af4b6bab0 Mon Sep 17 00:00:00 2001 From: Simon Kuenzer Date: Fri, 11 Aug 2023 15:10:37 +0200 Subject: [PATCH] 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 --- plat/kvm/Config.uk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- 2.39.5