diff options
| author | Peter Maydell | 2021-06-17 14:24:38 +0200 |
|---|---|---|
| committer | Peter Maydell | 2021-06-21 17:49:37 +0200 |
| commit | 15613357ba53a4763594f64476058b85b3014757 (patch) | |
| tree | 0e6c4879c5208947c6ff3270a803ba621547f9d3 /docs | |
| parent | hw/acpi: Provide function acpi_ghes_present() (diff) | |
| download | qemu-15613357ba53a4763594f64476058b85b3014757.tar.gz qemu-15613357ba53a4763594f64476058b85b3014757.tar.xz 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 'docs')
0 files changed, 0 insertions, 0 deletions
