ppce500_pci: QOM'ify e500 PCI host bridge
commit9c1a61f0e583a0ae3f601465ffa22da5954c9bfc
authorAndreas Färber <afaerber@suse.de>
Mon, 20 Aug 2012 17:08:03 +0000 (20 19:08 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Wed, 22 Aug 2012 15:47:16 +0000 (22 10:47 -0500)
treed7a24afda79ea74985676b419c2519b35b1c05ed
parent42c281a2832a67ee1d0cc08744c5b9ebb4f6b802
ppce500_pci: QOM'ify e500 PCI host bridge

Introduce type constant and cast macro. Avoid accessing parent fields
directly.

Signed-off-by: Andreas Färber <afaerber@suse.de>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/ppce500_pci.c