diff --git a/Makefile b/Makefile index 76355bccb..0eab2e643 100644 --- a/Makefile +++ b/Makefile @@ -117,6 +117,9 @@ hypervisor: else \ $(MAKE) -C $(T)/hypervisor HV_OBJDIR=$(HV_OUT) BOARD_FILE=$(BOARD_FILE) SCENARIO_FILE=$(SCENARIO_FILE) defconfig; \ echo "CONFIG_$(shell echo $(SCENARIO) | tr a-z A-Z)=y" >> $(HV_OUT)/.config; \ + if [ "$(SCENARIO)" != "sdc" ]; then \ + echo "CONFIG_MAX_KATA_VM_NUM=0" >> $(HV_OUT)/.config; \ + fi; \ if [ "$(CONFIG_XML_ENABLED)" = "true" ]; then \ echo "CONFIG_ENFORCE_VALIDATED_ACPI_INFO=y" >> $(HV_OUT)/.config; \ fi; \ diff --git a/hypervisor/arch/x86/Kconfig b/hypervisor/arch/x86/Kconfig index b1011d28d..1ebd12900 100644 --- a/hypervisor/arch/x86/Kconfig +++ b/hypervisor/arch/x86/Kconfig @@ -308,7 +308,8 @@ config L1D_FLUSH_VMENTRY_ENABLED config MAX_KATA_VM_NUM int "Maximum number of Kata Containers in SOS" range 0 1 - default 0 + default 1 if SDC + default 0 if !SDC config UEFI_OS_LOADER_NAME string "UEFI OS loader name"