aboutsummaryrefslogtreecommitdiff
path: root/nbd.c
diff options
context:
space:
mode:
authorAlexey Kardashevskiy <aik@ozlabs.ru>2014-05-27 15:36:31 +1000
committerAlexander Graf <agraf@suse.de>2014-06-16 13:24:39 +0200
commitda6ccee4184482b45a2cb562c7373639792fc58d (patch)
tree83ab119b1d7f8e039d154326f16a66f6733c3be1 /nbd.c
parentda95324ebe462b14a3507af02eb4a689c8a1619f (diff)
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>
Diffstat (limited to 'nbd.c')
0 files changed, 0 insertions, 0 deletions