Re: [PATCH v8 2/6] vfio: VFIO based driver for Mediated devices

Kirti Wankhede
2016-10-11T20:24:29Z

On 10/11/2016 9:25 AM, Alex Williamson wrote:
> On Tue, 11 Oct 2016 01:58:33 +0530
> Kirti Wankhede <kwankhede@nvidia.com> wrote:
>
>> vfio_mdev driver registers with mdev core driver.
>> MDEV core driver creates mediated device and calls probe routine of
>> vfio_mdev driver for each device.
>> Probe routine of vfio_mdev driver adds mediated device to VFIO core module
>>
>> This driver forms a shim layer that pass through VFIO devices operations
>> to vendor driver for mediated devices.
>>
>> Signed-off-by: Kirti Wankhede <kwankhede@nvidia.com>
>> Signed-off-by: Neo Jia <cjia@nvidia.com>
>> Change-Id: I583f4734752971d3d112324d69e2508c88f359ec
>> ---
>> drivers/vfio/mdev/Kconfig | 6 ++
>> drivers/vfio/mdev/Makefile | 1 +
>> drivers/vfio/mdev/vfio_mdev.c | 171 ++++++++++++++++++++++++++++++++++++
>> drivers/vfio/pci/vfio_pci_private.h | 6 +-
>> 4 files changed, 181 insertions(+), 3 deletions(-)
>> create mode 100644 drivers/vfio/mdev/vfio_mdev.c
>
> Looking pretty good so far, a few preliminary comments below. Thanks,
>
> Alex
>

Thanks Alex.

I'm preparing next patch with your suggestions here. Also let us know if
you have any more comments.

Thanks,
Kirti