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

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

 



On Mon, Jan 09, 2023 at 05:46:04AM +0000, Tian, Kevin wrote:
> > 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.

Oh, do we want that or a dedicated ioctl? -1 isn't a u32..

Jason



[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