Re: [PATCH v2 06/10] vfio: Refine vfio file kAPIs for vfio PCI hot reset

Jason Gunthorpe
2023-03-30T23:49:44Z

On Mon, Mar 27, 2023 at 02:34:54AM -0700, Yi Liu wrote:
> This prepares vfio core to accept vfio device file from the vfio PCI
> hot reset path. vfio_file_is_group() is still kept for KVM usage.
>
> Reviewed-by: Kevin Tian <kevin.tian@intel.com>
> Signed-off-by: Yi Liu <yi.l.liu@intel.com>
> ---
> drivers/vfio/group.c | 32 ++++++++++++++------------------
> drivers/vfio/pci/vfio_pci_core.c | 4 ++--
> drivers/vfio/vfio.h | 2 ++
> drivers/vfio/vfio_main.c | 29 +++++++++++++++++++++++++++++
> include/linux/vfio.h | 1 +
> 5 files changed, 48 insertions(+), 20 deletions(-)

Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>

Jason