On Fri, Jun 02, 2023 at 05:16:39AM -0700, Yi Liu wrote: > This moves the noiommu compat validation logic into vfio_df_group_open(). > This is more consistent with what will be done in vfio device cdev path. > > Reviewed-by: Kevin Tian <[email protected]> > Tested-by: Terrence Xu <[email protected]> > Tested-by: Nicolin Chen <[email protected]> > Tested-by: Yanting Jiang <[email protected]> > Tested-by: Shameer Kolothum <[email protected]> > Signed-off-by: Yi Liu <[email protected]> > --- > drivers/vfio/group.c | 13 +++++++++++++ > drivers/vfio/iommufd.c | 22 ++++++++-------------- > drivers/vfio/vfio.h | 9 +++++++++ > 3 files changed, 30 insertions(+), 14 deletions(-)
Reviewed-by: Jason Gunthorpe <[email protected]> Jason
