boards: x86: fix KERNEL_VM_SIZE for QEMU if ACPI

The default KERNEL_VM_SIZE if ACPI=y is too large for QEMU targets
which results in page tables being too big to fit in available
memory. So limit the VM size to a more reasonable one.

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
This commit is contained in:
Daniel Leung 2021-02-02 13:10:08 -08:00 committed by Anas Nashif
commit e4d8619b87

View file

@ -12,8 +12,17 @@ config FLASH_SIMULATOR
default y
depends on FLASH
config KERNEL_VM_SIZE
default 0x10000000 if ACPI
endif # BOARD_QEMU_X86
if BOARD_QEMU_X86_64
config BOARD
default "qemu_x86_64"
depends on BOARD_QEMU_X86_64
config KERNEL_VM_SIZE
default 0x10000000 if ACPI
endif # BOARD_QEMU_X86_64