diff options
| author | 2023-07-27 23:33:27 -0700 | |
|---|---|---|
| committer | 2023-07-28 13:31:24 -0300 | |
| commit | 70c16123d865046899c36e3655b2d611f38f51a3 (patch) | |
| tree | e5c25fcd721a5141d37966c544fc7832b2776f16 /lib/memory-notifier-error-inject.c | |
| parent | iommufd: Use iommufd_access_change_ioas in iommufd_access_destroy_object (diff) | |
| download | wireguard-linux-70c16123d865046899c36e3655b2d611f38f51a3.tar.xz wireguard-linux-70c16123d865046899c36e3655b2d611f38f51a3.zip | |
iommufd: Add iommufd_access_replace() API
Taking advantage of the new iommufd_access_change_ioas_id helper, add an
iommufd_access_replace() API for the VFIO emulated pathway to use.
Link: https://lore.kernel.org/r/a3267b924fd5f45e0d3a1dd13a9237e923563862.1690523699.git.nicolinc@nvidia.com
Suggested-by: Jason Gunthorpe <jgg@nvidia.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Signed-off-by: Nicolin Chen <nicolinc@nvidia.com>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions
