]> git.proxmox.com Git - mirror_qemu.git/commit - hw/arm/virt-acpi-build.c
ACPI: Record the Generic Error Status Block address
authorDongjiu Geng <gengdongjiu@huawei.com>
Tue, 12 May 2020 03:06:05 +0000 (11:06 +0800)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 14 May 2020 14:03:09 +0000 (15:03 +0100)
commita08a64627b6b5874f3dbf202fb08563e7a74b1ea
tree88f5dcbce32f235c61170401f5d72b0cc695c28c
parent205cc75deec196bb3266a0dac407a195a646b5fc
ACPI: Record the Generic Error Status Block address

Record the GHEB address via fw_cfg file, when recording
a error to CPER, it will use this address to find out
Generic Error Data Entries and write the error.

In order to avoid migration failure, make hardware
error table address to a part of GED device instead
of global variable, then this address will be migrated
to target QEMU.

Acked-by: Xiang Zheng <zhengxiang9@huawei.com>
Signed-off-by: Dongjiu Geng <gengdongjiu@huawei.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Message-id: 20200512030609.19593-7-gengdongjiu@huawei.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/acpi/generic_event_device.c
hw/acpi/ghes.c
hw/arm/virt-acpi-build.c
include/hw/acpi/generic_event_device.h
include/hw/acpi/ghes.h