]> git.proxmox.com Git - mirror_qemu.git/commit - hw/arm/virt.c
hw/arm/virt: Realize ARM_GICV2M sysbus device before accessing it
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Wed, 18 Oct 2023 06:16:31 +0000 (08:16 +0200)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Thu, 19 Oct 2023 21:13:28 +0000 (23:13 +0200)
commit8a89bb060765e26e0f0d55a495caf3c0fd8615ba
treedcd3c01739a8954a6db8361998d09ec7f5938734
parentbec4be77ea18feb9d50a6c2ee42b6c3ffe4ae78b
hw/arm/virt: Realize ARM_GICV2M sysbus device before accessing it

sysbus_mmio_map() should not be called on unrealized device.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20231018141151.87466-8-philmd@linaro.org>
hw/arm/virt.c