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:
parent
d3c9a986ec
commit
e55e85386a
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue