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? Thanks, Jason