RE: [PATCH v6 2/4] iommufd: Add iommufd_access_replace() API

From: Tian, Kevin
Date: Tue Mar 28 2023 - 01:18:51 EST


> From: Nicolin Chen <nicolinc@xxxxxxxxxx>
> Sent: Tuesday, March 28, 2023 2:05 AM
>
> Extract all common procedure, between the iommufd_access_attach() API
> and
> the new iommufd_access_replace() API, to an iommufd_access_change_pt()
> helper.
>
> Add iommufd_access_replace() function for VFIO emulated pathway to use.
>
> Suggested-by: Jason Gunthorpe <jgg@xxxxxxxxxx>
> Signed-off-by: Nicolin Chen <nicolinc@xxxxxxxxxx>

Reviewed-by: Kevin Tian <kevin.tian@xxxxxxxxx>