Re: [PATCH v2 2/8] kvm/vfio: Store the struct file in the kvm_vfio_group

Yi Liu
2022-04-21T14:47:29Z

On 2022/4/21 03:23, Jason Gunthorpe wrote:
> Following patches will change the APIs to use the struct file as the handle
> instead of the vfio_group, so hang on to a reference to it with the same
> duration of as the vfio_group.
>
> Reviewed-by: Kevin Tian <kevin.tian@intel.com>
> Reviewed-by: Christoph Hellwig <hch@lst.de>
> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
> ---
> virt/kvm/vfio.c | 59 ++++++++++++++++++++++++-------------------------
> 1 file changed, 29 insertions(+), 30 deletions(-)

Reviewed-by: Yi Liu <yi.l.liu@intel.com>

--
Regards,
Yi Liu