On Thu, Jul 27, 2023 at 11:33:27PM -0700, Nicolin Chen wrote: > Taking advantage of the new iommufd_access_change_ioas_id helper, add an > iommufd_access_replace() API for VFIO emulated pathway to use. > > Suggested-by: Jason Gunthorpe <jgg@xxxxxxxxxx> > Reviewed-by: Kevin Tian <kevin.tian@xxxxxxxxx> > Signed-off-by: Nicolin Chen <nicolinc@xxxxxxxxxx> > --- > drivers/iommu/iommufd/device.c | 15 +++++++++++++++ > include/linux/iommufd.h | 1 + > 2 files changed, 16 insertions(+) Reviewed-by: Jason Gunthorpe <jgg@xxxxxxxxxx> Jason