]> xenbits.xensource.com Git - unikraft/unikraft.git/commitdiff
plat/kvm/arm: Fix default choice in arm64 VMM menu
authorMichalis Pappas <michalis@unikraft.io>
Mon, 14 Aug 2023 14:07:15 +0000 (16:07 +0200)
committerUnikraft <monkey@unikraft.io>
Tue, 15 Aug 2023 12:33:53 +0000 (12:33 +0000)
Fix the default selection of the VMM in Config.uk. Kconfig requires
that the default is defined as an attribute of the `choice` option
rather than the contained item.

Signed-off-by: Michalis Pappas <michalis@unikraft.io>
Reviewed-by: Stefan Jumarea <stefanjumarea02@gmail.com>
Reviewed-by: Maria Sfiraiala <maria.sfiraiala@gmail.com>
Approved-by: Razvan Deaconescu <razvand@unikraft.io>
Tested-by: Unikraft CI <monkey@unikraft.io>
GitHub-Closes: #1053

plat/kvm/Config.uk

index 097536458f7082d146fc94fc1097688458fe40de..d7c30151b11371a85e7dd71e94dce279b98926b7 100644 (file)
@@ -16,6 +16,7 @@ if (PLAT_KVM)
 
 choice
        prompt "Boot protocol"
+       default KVM_BOOT_PROTO_LXBOOT
 
 config KVM_BOOT_PROTO_MULTIBOOT
        bool "Multiboot"
@@ -25,7 +26,6 @@ config KVM_BOOT_PROTO_MULTIBOOT
 
 config KVM_BOOT_PROTO_LXBOOT
        bool "Lxboot"
-       default y
        depends on KVM_VMM_FIRECRACKER || (KVM_VMM_QEMU && ARCH_ARM_64)
        help
                Linux 64-bit Boot Protocol