alpha_typhoon: QOM'ify Typhoon PCI host bridge
commit94dd91d651fe821971411280f8c64a6b72e8ca64
authorAndreas Färber <afaerber@suse.de>
Mon, 20 Aug 2012 17:07:57 +0000 (20 19:07 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Wed, 22 Aug 2012 15:47:15 +0000 (22 10:47 -0500)
tree127ad9235c311a9b1585887f8d8a467fbac5e7d9
parent4240abff5a6fb5d88867b51f46c0235518dac564
alpha_typhoon: QOM'ify Typhoon PCI host bridge

Introduce type constant and cast macro. Don't access DeviceState
or PCIHostState indirectly through parent fields.

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