Re: [PATCH v7 2/5] virtio-iommu: Add iommu notifier for map/unmap

2020-03-16 Thread Auger Eric
Hi Bharat, On 3/16/20 7:36 AM, Bharat Bhushan wrote: > Hi Eric, > > On Fri, Mar 13, 2020 at 7:55 PM Auger Eric wrote: >> >> Hi Bharat, >> On 3/13/20 8:48 AM, Bharat Bhushan wrote: >>> This patch extends VIRTIO_IOMMU_T_MAP/UNMAP request to >>> notify registered iommu-notifier. Which will call

Re: [PATCH v7 2/5] virtio-iommu: Add iommu notifier for map/unmap

2020-03-16 Thread Bharat Bhushan
Hi Eric, On Fri, Mar 13, 2020 at 7:55 PM Auger Eric wrote: > > Hi Bharat, > On 3/13/20 8:48 AM, Bharat Bhushan wrote: > > This patch extends VIRTIO_IOMMU_T_MAP/UNMAP request to > > notify registered iommu-notifier. Which will call vfio > s/iommu-notifier/iommu-notifiers > > notifier to map/unmap

[PATCH v7 2/5] virtio-iommu: Add iommu notifier for map/unmap

2020-03-13 Thread Bharat Bhushan
This patch extends VIRTIO_IOMMU_T_MAP/UNMAP request to notify registered iommu-notifier. Which will call vfio notifier to map/unmap region in iommu. Signed-off-by: Bharat Bhushan Signed-off-by: Eric Auger --- hw/virtio/trace-events | 2 + hw/virtio/virtio-iommu.c | 66

Re: [PATCH v7 2/5] virtio-iommu: Add iommu notifier for map/unmap

2020-03-13 Thread Auger Eric
Hi Bharat, On 3/13/20 8:48 AM, Bharat Bhushan wrote: > This patch extends VIRTIO_IOMMU_T_MAP/UNMAP request to > notify registered iommu-notifier. Which will call vfio s/iommu-notifier/iommu-notifiers > notifier to map/unmap region in iommu. can be any notifier (vhost/vfio). > > Signed-off-by: