This allows sharing the same PHB for both emulated and VFIO devices. This used to be a part of the Dynamic DMA window patchset. Since it was moved out and reworked quite a lot, all reviewed-by's got outdated.
This is based on dgibson/spapr-next sha1 2194742. Please comment. Thanks. Alexey Kardashevskiy (2): spapr_pci_vfio: Remove redundant spapr-pci-vfio-host-bridge spapr_pci: Remove constraints about VFIO-PCI devices hw/ppc/Makefile.objs | 5 +- hw/ppc/spapr_pci.c | 170 +++++++++++++++++++++++++------------------- hw/ppc/spapr_pci_vfio.c | 147 ++++++++++++++------------------------ hw/vfio/common.c | 22 ++---- include/hw/pci-host/spapr.h | 23 +++--- include/hw/vfio/vfio.h | 3 +- 6 files changed, 170 insertions(+), 200 deletions(-) -- 2.4.0.rc3.8.gfb3e7d5
