Boards: QEMU: Replace -no-acpi with -machine acpi=off on x86 emulation.

QEMU 9.0 removes the `-no-acpi` option, which breaks emulation on x86
platforms when CONFIG_ACPI is not set. See:
https://github.com/zephyrproject-rtos/zephyr/issues/72191

This PR replaces `-no-acpi` with `-machine acpi=off`, as specified by
the QEMU documentation. It works on QEMU 8, but not been tested on
earlier versions.

Signed-off-by: Glenn Andrews <glenn.andrews.42@gmail.com>
This commit is contained in:
Glenn Andrews 2024-05-04 09:32:37 -07:00 committed by Carles Cufí
commit e55e85386a

View file

@ -71,7 +71,7 @@ set(QEMU_FLAGS_${ARCH}
) )
if(NOT CONFIG_ACPI) if(NOT CONFIG_ACPI)
list(APPEND QEMU_FLAGS_${ARCH} -no-acpi) list(APPEND QEMU_FLAGS_${ARCH} -machine acpi=off)
endif() endif()
# TODO: Support debug # TODO: Support debug