This is to enable MSIX BAR mapping to the guest and by the same time avoid failing on p2p DMA mappings. This attempt makes a try to separate p2p handling from msix.
This is based on sha1 a6506a9 Suraj Jitindar Singh "target/ppc/spapr: Add H-Call H_GET_CPU_CHARACTERISTICS". Please comment. Thanks. Alexey Kardashevskiy (2): vfio/common: Add 'p2p' property to enable DMA mapping of MMIO regions RFC: vfio-pci: Allow mmap of MSIX BAR include/hw/vfio/vfio-common.h | 2 ++ linux-headers/linux/vfio.h | 5 +++ hw/ppc/spapr.c | 7 ++++ hw/vfio/common.c | 74 +++++++++++++++++++++++++++++++++++++++---- hw/vfio/pci.c | 11 +++++++ 5 files changed, 92 insertions(+), 7 deletions(-) -- 2.11.0