hw/acpi: Realize ACPI_GED sysbus device before accessing it
commit74b253585de2def439cc400bc699b37de3e20727
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Wed, 18 Oct 2023 06:37:06 +0000 (18 08:37 +0200)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Fri, 20 Oct 2023 12:46:07 +0000 (20 14:46 +0200)
tree71972210fdd585670ac848adb3ee8410837e7b61
parent52d97058e871106c19a98f7d6202b061f2ee7c93
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