mirror of
https://github.com/qemu/qemu.git
synced 2024-12-12 21:23:36 +08:00
da6ccee418
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> |
||
---|---|---|
.. | ||
apb.h | ||
pam.h | ||
ppce500.h | ||
q35.h | ||
spapr.h |