summary refs log tree commit diff stats
path: root/util/oslib-posix.c
diff options
context:
space:
mode:
authorZenghui Yu <yuzenghui@huawei.com>2022-08-12 10:20:18 +0800
committerPeter Maydell <peter.maydell@linaro.org>2022-08-12 11:25:18 +0100
commite1f045780ba60bc511b5acb168b32a6a41148d73 (patch)
treedde3439f2c5b18584931193d8cd18e6e098b07d3 /util/oslib-posix.c
parent6a54ac2a9737057dc19aa584d823a3011717423b (diff)
downloadfocaccia-qemu-e1f045780ba60bc511b5acb168b32a6a41148d73.tar.gz
focaccia-qemu-e1f045780ba60bc511b5acb168b32a6a41148d73.zip
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 'util/oslib-posix.c')
0 files changed, 0 insertions, 0 deletions