Re: [Qemu-devel] [PATCH qemu v5 1/2] vfio/common: Add 'p2p' property to enable DMA mapping of MMIO regions

2018-01-29 Thread Alex Williamson
On Tue, 30 Jan 2018 14:55:26 +1100 Alexey Kardashevskiy wrote: > At the moment we map all RAM memory regions for possible DMA including > MMIO regions of passed through device as this might be used for P2P PCI. > However if DMA map fails for whatever reason, we fail and exit QEMU. > Since P2P is

[Qemu-devel] [PATCH qemu v5 1/2] vfio/common: Add 'p2p' property to enable DMA mapping of MMIO regions

2018-01-29 Thread Alexey Kardashevskiy
At the moment we map all RAM memory regions for possible DMA including MMIO regions of passed through device as this might be used for P2P PCI. However if DMA map fails for whatever reason, we fail and exit QEMU. Since P2P is not widely used and tested, it makes sense to exclude MMIO regions from D