RE: [RFC 08/12] vfio: Add infrastructure for bind_iommufd and attach

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> From: Liu, Yi L <yi.l.liu@xxxxxxxxx>
> Sent: Monday, December 19, 2022 4:47 PM
> 
> This prepares to add ioctls for device cdev fd. This infrastructure includes:
>     - vfio_iommufd_bind() to accept pt_id, and also return back dev_id to
> caller.
>     - vfio_iommufd_attach() to support iommufd pgtable attach after
> bind_iommufd.

Please mention that pt_id==-1 implies detach.

> 
> -int vfio_iommufd_bind(struct vfio_device *vdev, struct iommufd_ctx *ictx)
> +/* @pt_id == NULL impplies detach */

s/impplies/implies/





[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux