> The .bind_iommufd op of vfio emulated devices are either empty or does > nothing. This is different with the vfio physical devices, to add vfio device > cdev, > need to make them act the same. > > This series first makes the .bind_iommufd op of vfio emulated devices to > create > iommufd_access, this introduces a new iommufd API. Then let the driver that > does not provide .bind_iommufd op to use the vfio emulated iommufd op set. > This makes all vfio device drivers have consistent iommufd operations, which > is > good for adding new device uAPIs in the device cdev series. >
Tested-by: Yanting Jiang <[email protected]> Thanks, Yanting
