Re: [PATCH v4 4/7] vfio: ap: register IOMMU VFIO notifier

2019-02-28 Thread Christian Borntraeger
On 28.02.2019 17:55, Halil Pasic wrote: > On Thu, 28 Feb 2019 09:48:39 +0100 > Pierre Morel wrote: > >> On 28/02/2019 09:23, Christian Borntraeger wrote: >>> On 22.02.2019 16:29, Pierre Morel wrote: To be able to use the VFIO interface to facilitate the mediated device memory

Re: [PATCH v4 4/7] vfio: ap: register IOMMU VFIO notifier

2019-02-28 Thread Halil Pasic
On Thu, 28 Feb 2019 09:48:39 +0100 Pierre Morel wrote: > On 28/02/2019 09:23, Christian Borntraeger wrote: > > On 22.02.2019 16:29, Pierre Morel wrote: > >> To be able to use the VFIO interface to facilitate the > >> mediated device memory pining/unpining we need to register > >> a notifier for

Re: [PATCH v4 4/7] vfio: ap: register IOMMU VFIO notifier

2019-02-28 Thread Pierre Morel
On 28/02/2019 09:23, Christian Borntraeger wrote: On 22.02.2019 16:29, Pierre Morel wrote: To be able to use the VFIO interface to facilitate the mediated device memory pining/unpining we need to register a notifier for IOMMU. You might want to add that while we start to pin one guest page

Re: [PATCH v4 4/7] vfio: ap: register IOMMU VFIO notifier

2019-02-28 Thread Christian Borntraeger
On 22.02.2019 16:29, Pierre Morel wrote: > To be able to use the VFIO interface to facilitate the > mediated device memory pining/unpining we need to register > a notifier for IOMMU. You might want to add that while we start to pin one guest page for the interrupt indicator byte in the next

Re: [PATCH v4 4/7] vfio: ap: register IOMMU VFIO notifier

2019-02-27 Thread Pierre Morel
On 27/02/2019 10:42, Cornelia Huck wrote: On Fri, 22 Feb 2019 16:29:57 +0100 Pierre Morel wrote: To be able to use the VFIO interface to facilitate the mediated device memory pining/unpining we need to register s/pining/pinning/ (unless it's pining for the fjords :) a notifier for IOMMU.

Re: [PATCH v4 4/7] vfio: ap: register IOMMU VFIO notifier

2019-02-27 Thread Cornelia Huck
On Fri, 22 Feb 2019 16:29:57 +0100 Pierre Morel wrote: > To be able to use the VFIO interface to facilitate the > mediated device memory pining/unpining we need to register s/pining/pinning/ (unless it's pining for the fjords :) > a notifier for IOMMU. > > Signed-off-by: Pierre Morel > --- >