hw/isa: Realize ISA bridge device before accessing it
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Wed, 18 Oct 2023 12:41:33 +0000 (14:41 +0200)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Fri, 20 Oct 2023 12:46:07 +0000 (14:46 +0200)
commit5a93fcfeeba7f0a4c766e7999fb778a2452d273e
treed9912feab57aedcdbd205477d544420503886a6c
parentc85b843d177e48bb5367946ac6731073d32f831e
hw/isa: Realize ISA 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: Michael S. Tsirkin <mst@redhat.com>
Message-Id: <20231019071611.98885-9-philmd@linaro.org>
hw/isa/isa-bus.c