]> git.ipfire.org Git - thirdparty/qemu.git/commit
hw/acpi: Realize ACPI_GED sysbus device before accessing it
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Wed, 18 Oct 2023 06:37:06 +0000 (08:37 +0200)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Thu, 19 Oct 2023 21:13:28 +0000 (23:13 +0200)
commitbec4be77ea18feb9d50a6c2ee42b6c3ffe4ae78b
tree66f87f88c5cf22ebea2f505f23741abecd6c6d66
parent0493aafb1abbe6256522c32b5686418b5b192e7e
hw/acpi: Realize ACPI_GED 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>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Message-Id: <20231018141151.87466-7-philmd@linaro.org>
hw/arm/virt.c
hw/i386/microvm.c
hw/loongarch/virt.c