]> xenbits.xensource.com Git - unikraft/unikraft.git/commitdiff
plat/kvm: Expand `KVM_BOOT_PROTO_LXBOOT` configuration entry
authorSergiu Moga <sergiu.moga@protonmail.com>
Sun, 14 May 2023 14:30:44 +0000 (17:30 +0300)
committerUnikraft <monkey@unikraft.io>
Fri, 11 Aug 2023 10:47:30 +0000 (10:47 +0000)
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 <sergiu.moga@protonmail.com>
Reviewed-by: Michalis Pappas <michalis@unikraft.io>
Approved-by: Razvan Deaconescu <razvand@unikraft.io>
Tested-by: Unikraft CI <monkey@unikraft.io>
GitHub-Closes: #909

plat/kvm/Config.uk

index 579b6000a2185897f2efc5f68d7a83db109f8656..fca462ef7f9069d0daaa32f2ac99d308e3b4d2a5 100644 (file)
@@ -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"