RE: [PATCH v1 5/5] vfio: Check the presence for iommufd callbacks in __vfio_register_dev()

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

 



> From: Jason Gunthorpe <jgg@xxxxxxxxxx>
> Sent: Saturday, March 11, 2023 1:40 AM
> 
> On Wed, Mar 08, 2023 at 05:13:40AM -0800, Yi Liu wrote:
> > After making the no-DMA drivers (samples/vfio-mdev) providing
> iommufd
> > callbacks, __vfio_register_dev() should check the presence of the
> iommufd
> > callbacks if CONFIG_IOMMUFD is enabled.
> >
> > Signed-off-by: Yi Liu <yi.l.liu@xxxxxxxxx>
> > ---
> >  drivers/vfio/vfio_main.c | 5 +++--
> >  1 file changed, 3 insertions(+), 2 deletions(-)
> 
> Reviewed-by: Jason Gunthorpe <jgg@xxxxxxxxxx>
> 
> Alex, when you take this can it please go on a branch that will also
> have the cdev series?

Hi Alex,

I've got a cdev v7 candidate in below branch. It has three sub-series per
the suggestion in prior cdev review.

 - cover-letter: Add vfio_device cdev for iommufd support
 - cover-letter: Introduce new methods for verifying ownership in vfio PCI hot reset
 - cover-letter: vfio: Make emulated devices prepared for vfio device cdev

https://github.com/yiliu1765/iommufd/tree/wip/vfio_device_cdev_v7_candidate

However, there is one open on Nicolin's patch in below link. So I need
to wait for it before sending v7.

https://lore.kernel.org/kvm/ZBGJzefTm4p%2FReIu@Asurada-Nvidia/

Regards,
Yi Liu




[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