macio: move OpenPIC inside macio-newworld device
commit7e4d62dfee40e7d94c72644d2d29bbd33db91bed
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Tue, 29 Dec 2020 17:56:17 +0000 (29 17:56 +0000)
committerMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Wed, 13 Jan 2021 12:21:10 +0000 (13 12:21 +0000)
tree02efbaa8c2762236ef5555c7b2da33db8179fa8b
parent6ce97b225eeba491f843cd01f28d1b3566d56f90
macio: move OpenPIC inside macio-newworld device

The OpenPIC device is located within the macio device on real hardware so make it
a child of the macio-newworld device. This also removes the need for setting and
checking a separate PIC object property link on the macio-newworld device which
currently causes the automated QOM introspection tests to fail.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Message-Id: <20201229175619.6051-6-mark.cave-ayland@ilande.co.uk>
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
hw/misc/macio/macio.c
hw/ppc/mac_newworld.c
include/hw/misc/macio/macio.h