diff options
| author | Peter Maydell <peter.maydell@linaro.org> | 2021-06-17 13:24:38 +0100 |
|---|---|---|
| committer | Peter Maydell <peter.maydell@linaro.org> | 2021-06-21 16:49:37 +0100 |
| commit | 15613357ba53a4763594f64476058b85b3014757 (patch) | |
| tree | 0e6c4879c5208947c6ff3270a803ba621547f9d3 /python/setup.py | |
| parent | 1c81f5735af3e2356bb75482a58786a4f26d8300 (diff) | |
| download | focaccia-qemu-15613357ba53a4763594f64476058b85b3014757.tar.gz focaccia-qemu-15613357ba53a4763594f64476058b85b3014757.zip | |
target/arm: Use acpi_ghes_present() to see if we report ACPI memory errors
The virt_is_acpi_enabled() function is specific to the virt board, as is the check for its 'ras' property. Use the new acpi_ghes_present() function to check whether we should report memory errors via acpi_ghes_record_errors(). This avoids a link error if QEMU was built without support for the virt board, and provides a mechanism that can be used by any future board models that want to add ACPI memory error reporting support (they only need to call acpi_ghes_add_fw_cfg()). Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Dongjiu Geng <gengdongjiu1@gmail.com> Message-id: 20210603171259.27962-4-peter.maydell@linaro.org
Diffstat (limited to 'python/setup.py')
0 files changed, 0 insertions, 0 deletions