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

Tian, Kevin
2023-03-28T05:18:49Z

> From: Nicolin Chen <nicolinc@nvidia.com>
> 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@nvidia.com>
> Signed-off-by: Nicolin Chen <nicolinc@nvidia.com>