OSDN Git Service

gt64xxx: QOM'ify GT64120 PCI host bridge
authorAndreas Färber <afaerber@suse.de>
Mon, 20 Aug 2012 17:08:01 +0000 (19:08 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Wed, 22 Aug 2012 15:47:16 +0000 (10:47 -0500)
commit8d43d7e591c2078cc64534b867365d46ad394d04
treec9912d55003227a41d1bf5869b5a2b04e968ca1f
parent0e655047c5b394b54ffec6dddf37641b2aa5df55
gt64xxx: QOM'ify GT64120 PCI host bridge

Introduce type constant. Introduce cast macro to drop dummy busdev field
used with FROM_SYSBUS() macro that would've broken SYS_BUS_DEVICE().
Avoid accessing DeviceState indirectly through PCIHostState.

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/gt64xxx.c