From cfd6cca893c6a1b54b92e3f801180db1cc9a393b Mon Sep 17 00:00:00 2001 From: Sergiu Moga Date: Sun, 14 May 2023 17:30:44 +0300 Subject: [PATCH] plat/kvm: Expand `KVM_BOOT_PROTO_LXBOOT` configuration entry Add a description and proper dependencies for the `KVM_BOOT_PROTO_LXBOOT` configuration entry. Since `Firecracker` only supports the `Linux` 64-bit boot protocol and we do not yet support booting through it on `QEMU`, make the dependencies reflect that. Signed-off-by: Sergiu Moga Reviewed-by: Michalis Pappas Approved-by: Razvan Deaconescu Tested-by: Unikraft CI GitHub-Closes: #909 --- plat/kvm/Config.uk | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/plat/kvm/Config.uk b/plat/kvm/Config.uk index 579b6000a..fca462ef7 100644 --- a/plat/kvm/Config.uk +++ b/plat/kvm/Config.uk @@ -21,7 +21,10 @@ config KVM_BOOT_PROTO_MULTIBOOT Multiboot Boot Protocol Version 1 config KVM_BOOT_PROTO_LXBOOT - bool + bool "Lxboot" + depends on !KVM_VMM_QEMU && KVM_VMM_FIRECRACKER && ARCH_X86_64 + help + Linux 64-bit Boot Protocol choice prompt "Virtual Machine Monitor" -- 2.39.5