At present, VFIO PCI devices attached to an spapr-pci-host-bridge device (the regular PCI host bridge for the pseries machine type) won't quite work properly.
I've recently posted some extensions to VFIO that are almost enough to allow these to work - this series contains the final necessary changes to the host bridge implementation itself to let that work. NOTE: This must be applied on top of my recent series of patches to the VFIO core code. I'm sending this out now, in the hopes that it can be reviewed and ready to apply as soon as the VFIO changes are merged. David Gibson (4): spapr_pci: Allow PCI host bridge DMA window to be configured spapr_iommu: Rename vfio_accel parameter spapr_iommu: Provide a function to switch a TCE table to allowing VFIO spapr_pci: Allow VFIO devices to work on the normal PCI host bridge hw/ppc/spapr_iommu.c | 38 +++++++++++++++++++++++++++++++++++--- hw/ppc/spapr_pci.c | 13 +++++++++++-- include/hw/pci-host/spapr.h | 3 +-- include/hw/ppc/spapr.h | 6 ++++-- target-ppc/kvm.c | 4 ++-- target-ppc/kvm_ppc.h | 2 +- 6 files changed, 54 insertions(+), 12 deletions(-) -- 2.4.3