vfio: Change vfio_group_set_kvm() to vfio_file_set_kvm()
authorJason Gunthorpe <jgg@nvidia.com>
Wed, 4 May 2022 19:14:44 +0000 (16:14 -0300)
committerAlex Williamson <alex.williamson@redhat.com>
Fri, 13 May 2022 16:14:20 +0000 (10:14 -0600)
commitba70a89f3c2a8279809ea0fc7684857c91938b8a
tree4b14a766e3caa03743fd6a82ea36175dc5a5013f
parenta905ad043f32bbb0c35d4325036397f20f30c8a9
vfio: Change vfio_group_set_kvm() to vfio_file_set_kvm()

Just change the argument from struct vfio_group to struct file *.

Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Link: https://lore.kernel.org/r/6-v3-f7729924a7ea+25e33-vfio_kvm_no_group_jgg@nvidia.com
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
drivers/vfio/vfio.c
include/linux/vfio.h
virt/kvm/vfio.c