]> git.proxmox.com Git - qemu.git/commit
bonito: QOM'ify Bonito PCI host bridge
authorAndreas Färber <afaerber@suse.de>
Mon, 20 Aug 2012 17:07:58 +0000 (19:07 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Wed, 22 Aug 2012 15:47:15 +0000 (10:47 -0500)
commitc5589ee9745319944886231935680fb8d110e6cb
treeb2ebcb7e170b079ac5afb4215a9809e1dcb9a60b
parent94dd91d651fe821971411280f8c64a6b72e8ca64
bonito: QOM'ify Bonito PCI host bridge

Introduce type constant. Avoid accessing DeviceState or SysBusDevice
indirectly through PCIHostState field.

Drop global state by passing BonitoState as opaque and adding the IRQs
and a pointer to PCIBonitoState to its state.

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