diff options
author | Yi Liu <yi.l.liu@intel.com> | 2023-02-09 00:12:09 -0800 |
---|---|---|
committer | Alex Williamson <alex.williamson@redhat.com> | 2023-02-09 11:43:39 -0700 |
commit | fae9068022186b832534ea8b325d5242586c4303 (patch) | |
tree | 7e985b72e58530d6c5a53ac59bd098dc39bb202f /include/linux/vfio.h | |
parent | ce06a7000f0e9ad1ea5f55129ed964a7888d6e1c (diff) | |
download | lwn-fae9068022186b832534ea8b325d5242586c4303.tar.gz lwn-fae9068022186b832534ea8b325d5242586c4303.zip |
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>
Diffstat (limited to 'include/linux/vfio.h')
-rw-r--r-- | include/linux/vfio.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/vfio.h b/include/linux/vfio.h index 87ff862ff555..93134b023968 100644 --- a/include/linux/vfio.h +++ b/include/linux/vfio.h @@ -70,6 +70,10 @@ struct vfio_device { * * @init: initialize private fields in device structure * @release: Reclaim private fields in device structure + * @bind_iommufd: Called when binding the device to an iommufd + * @unbind_iommufd: Opposite of bind_iommufd + * @attach_ioas: Called when attaching device to an IOAS/HWPT managed by the + * bound iommufd. Undo in unbind_iommufd. * @open_device: Called when the first file descriptor is opened for this device * @close_device: Opposite of open_device * @read: Perform read(2) on device file descriptor |