OSDN Git Service

q800: don't access Nubus bus directly from the mac-nubus-bridge device
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Wed, 21 Jun 2023 08:53:50 +0000 (09:53 +0100)
committerLaurent Vivier <laurent@vivier.eu>
Thu, 22 Jun 2023 07:29:37 +0000 (09:29 +0200)
commit464085e8f6776a0ca5a2677cf8b93b25c8a94da4
treedefa58ad1f187d1aaddd88531bb4703223c3f64c
parent36df1c5a635c11e5514ac561ed90a9c459cdbff2
q800: don't access Nubus bus directly from the mac-nubus-bridge device

Instead use the qdev_get_child_bus() function which is intended for this exact
purpose.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230621085353.113233-22-mark.cave-ayland@ilande.co.uk>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
hw/m68k/q800.c