Re: [PATCH v5 05/19] kvm/vfio: Accept vfio device file from userspace

Jason Gunthorpe
2023-02-27T18:47:37Z

On Mon, Feb 27, 2023 at 03:11:21AM -0800, Yi Liu wrote:
> This defines KVM_DEV_VFIO_FILE* and make alias with KVM_DEV_VFIO_GROUP*.
> Old userspace uses KVM_DEV_VFIO_GROUP* works as well.
>
> Signed-off-by: Yi Liu <yi.l.liu@intel.com>
> ---
> Documentation/virt/kvm/devices/vfio.rst | 52 +++++++++++++++++--------
> include/uapi/linux/kvm.h | 16 ++++++--
> virt/kvm/vfio.c | 16 ++++----
> 3 files changed, 55 insertions(+), 29 deletions(-)

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

Jason