Re: [Intel-gfx] [PATCH v7 12/22] vfio-iommufd: Move noiommu support out of vfio_iommufd_bind()

2023-03-16 Thread Tian, Kevin
> From: Liu, Yi L > Sent: Thursday, March 16, 2023 8:55 PM > > @@ -192,6 +192,15 @@ static int vfio_device_group_open(struct > vfio_device_file *df) > vfio_device_group_get_kvm_safe(device); > > df->iommufd = device->group->iommufd; > + if (device->group->iommufd &&

[Intel-gfx] [PATCH v7 12/22] vfio-iommufd: Move noiommu support out of vfio_iommufd_bind()

2023-03-16 Thread Yi Liu
into vfio_device_group_open(). This is also more consistent with what will be done in vfio device cdev path. Signed-off-by: Yi Liu --- drivers/vfio/group.c | 9 + drivers/vfio/iommufd.c | 35 ++- drivers/vfio/vfio.h| 9 + 3 files changed,