Fallback to BIOS when using legacy boot protocols

This commit is contained in:
Zejun Zhao 2025-04-06 18:05:47 +08:00 committed by Tate, Hongliang Tian
parent 5630fa8b36
commit 4baff8e17b

View File

@ -85,6 +85,14 @@ BOOT_PROTOCOL = linux-efi-handover64
CARGO_OSDK_ARGS += --scheme tdx
endif
ifeq ($(BOOT_PROTOCOL), linux-legacy32)
BOOT_METHOD = qemu-direct
OVMF = off
else ifeq ($(BOOT_PROTOCOL), multiboot)
BOOT_METHOD = qemu-direct
OVMF = off
endif
ifneq ($(SCHEME), "")
CARGO_OSDK_ARGS += --scheme $(SCHEME)
else