diff options
author | Zenghui Yu <yuzenghui@huawei.com> | 2022-08-12 10:20:18 +0800 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2022-08-12 11:25:18 +0100 |
commit | e1f045780ba60bc511b5acb168b32a6a41148d73 (patch) | |
tree | dde3439f2c5b18584931193d8cd18e6e098b07d3 /hw/m68k | |
parent | 6a54ac2a9737057dc19aa584d823a3011717423b (diff) | |
download | qemu-e1f045780ba60bc511b5acb168b32a6a41148d73.zip qemu-e1f045780ba60bc511b5acb168b32a6a41148d73.tar.gz qemu-e1f045780ba60bc511b5acb168b32a6a41148d73.tar.bz2 |
hw/arm/virt-acpi-build: Present the GICR structure properly for GICv4
With the introduction of the new TCG GICv4, build_madt() is badly broken
as we do not present any GIC Redistributor structure in MADT for GICv4
guests, so that they have no idea about where the Redistributor
register frames are. This fixes a Linux guest crash at boot time with
ACPI enabled and '-machine gic-version=4'.
While at it, let's convert the remaining hard coded gic_version into
enumeration VIRT_GIC_VERSION_2 for consistency.
Signed-off-by: Zenghui Yu <yuzenghui@huawei.com>
Message-id: 20220812022018.1069-1-yuzenghui@huawei.com
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/m68k')
0 files changed, 0 insertions, 0 deletions