Re: [Qemu-devel] [PATCH v6 3/4] vfio iommu: Add support for mediated devices

2016-08-11 Thread Alex Williamson
On Thu, 11 Aug 2016 19:52:06 +0530 Kirti Wankhede wrote: > Thanks Alex. I'll take care of suggested nits and rename structures and > function. > > On 8/10/2016 12:30 AM, Alex Williamson wrote: > > On Thu, 4 Aug 2016 00:33:53 +0530 > > Kirti Wankhede

Re: [Qemu-devel] [PATCH v6 3/4] vfio iommu: Add support for mediated devices

2016-08-11 Thread Kirti Wankhede
Thanks Alex. I'll take care of suggested nits and rename structures and function. On 8/10/2016 12:30 AM, Alex Williamson wrote: > On Thu, 4 Aug 2016 00:33:53 +0530 > Kirti Wankhede wrote: > ... >> >> +/* >> + * Pin a set of guest PFNs and return their associated host PFNs

Re: [Qemu-devel] [PATCH v6 3/4] vfio iommu: Add support for mediated devices

2016-08-09 Thread Alex Williamson
On Thu, 4 Aug 2016 00:33:53 +0530 Kirti Wankhede wrote: > VFIO IOMMU drivers are designed for the devices which are IOMMU capable. > Mediated device only uses IOMMU APIs, the underlying hardware can be > managed by an IOMMU domain. > > Aim of this change is: > - To use

[Qemu-devel] [PATCH v6 3/4] vfio iommu: Add support for mediated devices

2016-08-03 Thread Kirti Wankhede
VFIO IOMMU drivers are designed for the devices which are IOMMU capable. Mediated device only uses IOMMU APIs, the underlying hardware can be managed by an IOMMU domain. Aim of this change is: - To use most of the code of TYPE1 IOMMU driver for mediated devices - To support direct assigned device