Skip to content

Commit fae9068

Browse files
yiliu1765Alex Williamson
authored andcommitted
vfio: Update the kdoc for vfio_device_ops
this is missed when adding bind_iommufd/unbind_iommufd and attach_ioas. Signed-off-by: Yi Liu <yi.l.liu@intel.com> Reviewed-by: Kevin Tian <kevin.tian@intel.com> Link: https://lore.kernel.org/r/20230209081210.141372-2-yi.l.liu@intel.com Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
1 parent ce06a70 commit fae9068

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

include/linux/vfio.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,10 @@ struct vfio_device {
7070
*
7171
* @init: initialize private fields in device structure
7272
* @release: Reclaim private fields in device structure
73+
* @bind_iommufd: Called when binding the device to an iommufd
74+
* @unbind_iommufd: Opposite of bind_iommufd
75+
* @attach_ioas: Called when attaching device to an IOAS/HWPT managed by the
76+
* bound iommufd. Undo in unbind_iommufd.
7377
* @open_device: Called when the first file descriptor is opened for this device
7478
* @close_device: Opposite of open_device
7579
* @read: Perform read(2) on device file descriptor

0 commit comments

Comments
 (0)