x86: qemu: add -no-acpi to QEMU if CONFIG_ACPI=n

Tell QEMU not to use ACPI if CONFIG_ACPI=n. This gives
us back 128K at the end of memory.

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
This commit is contained in:
Daniel Leung 2021-02-09 14:12:11 -08:00 committed by Anas Nashif
commit fbdf518c0e

View file

@ -27,6 +27,10 @@ set(QEMU_FLAGS_${ARCH}
-nographic
)
if(NOT CONFIG_ACPI)
list(APPEND QEMU_FLAGS_${ARCH} -no-acpi)
endif()
# TODO: Support debug
# board_set_debugger_ifnset(qemu)
# debugserver: QEMU_EXTRA_FLAGS += -s -S