Heinrich Schuchardt | 2837f83 | 2023-12-19 16:04:07 +0100 | [diff] [blame] | 1 | .. SPDX-License-Identifier: GPL-2.0+ |
| 2 | |
| 3 | ACPI on QEMU |
| 4 | ============ |
| 5 | |
| 6 | QEMU can provide ACPI tables on ARM, RISC-V (since QEMU v8.0.0), and x86. |
| 7 | |
| 8 | The following U-Boot settings are needed for ACPI support:: |
| 9 | |
| 10 | CONFIG_CMD_QFW=y |
| 11 | CONFIG_ACPI=y |
| 12 | CONFIG_GENERATE_ACPI_TABLE=y |
| 13 | |
| 14 | On x86 these settings are already included in the defconfig files. ARM and |
| 15 | RISC-V default to use device-trees. |
| 16 | |
| 17 | Instead of updating the configuration manually you can add the configuration |
| 18 | fragment `acpi.config` to the make command for initializing the configuration. |
| 19 | E.g. |
| 20 | |
| 21 | .. code-block:: bash |
| 22 | |
| 23 | make qemu-riscv64_smode_defconfig acpi.config |