On Fri, Jun 02, 2023 at 05:16:40AM -0700, Yi Liu wrote: > This aligns the bind/attach logic with the coming vfio device cdev support. > > Reviewed-by: Kevin Tian <kevin.tian@xxxxxxxxx> > Tested-by: Terrence Xu <terrence.xu@xxxxxxxxx> > Tested-by: Nicolin Chen <nicolinc@xxxxxxxxxx> > Tested-by: Yanting Jiang <yanting.jiang@xxxxxxxxx> > Tested-by: Shameer Kolothum <shameerali.kolothum.thodi@xxxxxxxxxx> > Signed-off-by: Yi Liu <yi.l.liu@xxxxxxxxx> > --- > drivers/vfio/group.c | 17 +++++++++++++---- > drivers/vfio/iommufd.c | 35 +++++++++++++++++------------------ > drivers/vfio/vfio.h | 9 +++++++++ > 3 files changed, 39 insertions(+), 22 deletions(-) Reviewed-by: Jason Gunthorpe <jgg@xxxxxxxxxx> Jason