On Fri, Jun 02, 2023 at 05:16:41AM -0700, Yi Liu wrote: > .bind_iommufd() will generate an ID to represent this bond, which is > needed by userspace for further usage. Store devid in vfio_device_file > to avoid passing the pointer in multiple places. > > 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/iommufd.c | 12 +++++++----- > drivers/vfio/vfio.h | 10 +++++----- > drivers/vfio/vfio_main.c | 6 +++--- > 3 files changed, 15 insertions(+), 13 deletions(-)
Reviewed-by: Jason Gunthorpe <[email protected]> Jason
