]> xenbits.xensource.com Git - unikraft/unikraft.git/commitdiff
plat/kvm: Expand `KVM_BOOT_PROTO_MULTIBOOT` configuration entry
authorSergiu Moga <sergiu.moga@protonmail.com>
Sun, 14 May 2023 14:24:00 +0000 (17:24 +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_MULTIBOOT` configuration entry. Since `Firecracker`
only supports the `Linux` 64-bit boot protocol and `Multiboot` is
x86 specific (not taking into consideration the `Multiboot` ported
to `ARM` for `Xen`), make the configuration entry 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 5ca7e9e30e2c9e16c62b209067b58a0cf6d503d5..579b6000a2185897f2efc5f68d7a83db109f8656 100644 (file)
@@ -15,7 +15,10 @@ menuconfig PLAT_KVM
 if (PLAT_KVM)
 
 config KVM_BOOT_PROTO_MULTIBOOT
-       bool
+       bool "Multiboot"
+       depends on KVM_VMM_QEMU && !KVM_VMM_FIRECRACKER && ARCH_X86_64
+       help
+               Multiboot Boot Protocol Version 1
 
 config KVM_BOOT_PROTO_LXBOOT
        bool