Re: [PATCH 4/9] drm/i915/gvt: Change from vfio_group_(un)pin_pages to vfio_(un)pin_pages

Christoph Hellwig
2022-04-13T06:01:22Z

On Tue, Apr 12, 2022 at 12:53:31PM -0300, Jason Gunthorpe wrote:
> Use the existing vfio_device versions of vfio_(un)pin_pages(). There is no
> reason to use a group interface here, kvmgt has easy access to a
> vfio_device.

Once this is moved after the vfio_dma_rw, this is the last user of
the vfio_group, and I think it owuld make sense to merge it with the
patch to remove the vfio_group instead of leaving that around once
unused.