qemu/include/hw/pci-host
Alexey Kardashevskiy da6ccee418 spapr_pci: Introduce a finish_realize() callback
The spapr-pci PHB initializes IOMMU for emulated devices only.
The upcoming VFIO support will do it different. However both emulated
and VFIO PHB types share most of the initialization code.
For the type specific things a new finish_realize() callback is
introduced.

This introduces sPAPRPHBClass derived from PCIHostBridgeClass and
adds the callback pointer.

This implements finish_realize() for emulated devices.

Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
[agraf: Fix compilation]
Signed-off-by: Alexander Graf <agraf@suse.de>
2014-06-16 13:24:39 +02:00
..
apb.h hw: move headers to include/ 2013-04-08 18:13:10 +02:00
pam.h pam: pass device to init_pam and use it to set owner 2013-07-04 17:42:47 +02:00
ppce500.h hw: move headers to include/ 2013-04-08 18:13:10 +02:00
q35.h q35: Correct typo BRDIGE -> BRIDGE 2014-03-11 13:27:27 +02:00
spapr.h spapr_pci: Introduce a finish_realize() callback 2014-06-16 13:24:39 +02:00