OSDN Git Service

hw/s390x/css-bridge: Realize sysbus device before accessing it
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Wed, 18 Oct 2023 12:34:42 +0000 (14:34 +0200)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Thu, 19 Oct 2023 21:13:28 +0000 (23:13 +0200)
commit840b4495ef5c2d90d75f3f0d00d9018146f27d8e
treeed095252089b1c4dadabc8a231721e006388c6f9
parent675d717b9ee2d8dea9cfdca9aa69ed97d8bc54d3
hw/s390x/css-bridge: Realize sysbus device before accessing it

qbus_new() 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: <20231019071611.98885-10-philmd@linaro.org>
hw/s390x/css-bridge.c