OSDN Git Service

hw/ppc/spapr_vio: Realize SPAPR_VIO_BRIDGE device before accessing it
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Thu, 19 Oct 2023 10:01:59 +0000 (12:01 +0200)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Thu, 19 Oct 2023 21:13:28 +0000 (23:13 +0200)
commit880e26074c271e88235b453107fdfd40b0940f7f
tree2a680c4f0cb74201cd5aa01caf362a35f8c0608b
parent0459c141f8d9dc99274ca3cffe632a37a0575c9e
hw/ppc/spapr_vio: Realize SPAPR_VIO_BRIDGE device before accessing it

qbus_new() should not be called on unrealized device.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20231019131647.19690-2-philmd@linaro.org>
hw/ppc/spapr_vio.c