Re: [vfio-users] P2P DMA between endpoint devices inside a VM

2020-09-23 Thread Alex Williamson
On Wed, 23 Sep 2020 15:32:15 -0700 Maran Wilson wrote: > On Wed, Sep 23, 2020 at 2:19 PM Alex Williamson > wrote: > > > On Wed, 23 Sep 2020 13:08:10 -0700 > > Maran Wilson wrote: > > > > > Just wanted to wrap up this thread by confirming what Alex said is true > > (in > > > case anyone

Re: [vfio-users] P2P DMA between endpoint devices inside a VM

2020-09-23 Thread Maran Wilson
On Wed, Sep 23, 2020 at 2:19 PM Alex Williamson wrote: > On Wed, 23 Sep 2020 13:08:10 -0700 > Maran Wilson wrote: > > > Just wanted to wrap up this thread by confirming what Alex said is true > (in > > case anyone else is interested in this topic in the future). After > enabling > > IOMMU

Re: [vfio-users] P2P DMA between endpoint devices inside a VM

2020-09-23 Thread Alex Williamson
On Wed, 23 Sep 2020 13:08:10 -0700 Maran Wilson wrote: > Just wanted to wrap up this thread by confirming what Alex said is true (in > case anyone else is interested in this topic in the future). After enabling > IOMMU tracing on the host I was able to confirm that IOMMU mappings were, > in

Re: [vfio-users] P2P DMA between endpoint devices inside a VM

2020-09-23 Thread Maran Wilson
Just wanted to wrap up this thread by confirming what Alex said is true (in case anyone else is interested in this topic in the future). After enabling IOMMU tracing on the host I was able to confirm that IOMMU mappings were, in fact, being created properly to map the gPA to hPA of both devices'

Re: [vfio-users] P2P DMA between endpoint devices inside a VM

2020-09-08 Thread Alex Williamson
On Tue, 8 Sep 2020 11:31:42 -0700 Maran Wilson wrote: > On Tue, Sep 8, 2020 at 10:22 AM Alex Williamson > wrote: > > > On Tue, 8 Sep 2020 09:59:46 -0700 > > Maran Wilson wrote: > > > > > I'm trying to use the vfio-pci driver to pass-through two PCIe endpoint > > > devices into a VM. On the

Re: [vfio-users] P2P DMA between endpoint devices inside a VM

2020-09-08 Thread Maran Wilson
On Tue, Sep 8, 2020 at 10:22 AM Alex Williamson wrote: > On Tue, 8 Sep 2020 09:59:46 -0700 > Maran Wilson wrote: > > > I'm trying to use the vfio-pci driver to pass-through two PCIe endpoint > > devices into a VM. On the host, each of these PCIe endpoint devices is in > > its own IOMMU group.

Re: [vfio-users] P2P DMA between endpoint devices inside a VM

2020-09-08 Thread Alex Williamson
On Tue, 8 Sep 2020 09:59:46 -0700 Maran Wilson wrote: > I'm trying to use the vfio-pci driver to pass-through two PCIe endpoint > devices into a VM. On the host, each of these PCIe endpoint devices is in > its own IOMMU group. From inside the VM, I would like to perform P2P DMA > operations. So