vfio: Split VFIO_GROUP_GET_STATUS into a function
authorJason Gunthorpe <jgg@nvidia.com>
Wed, 31 Aug 2022 20:16:03 +0000 (17:16 -0300)
committerAlex Williamson <alex.williamson@redhat.com>
Thu, 1 Sep 2022 21:29:11 +0000 (15:29 -0600)
commit99a27c088b9c76d9e0f2a36152ffaf9891b224d3
tree1473429afdee92df59c410ddaf4533e2ef68c549
parentb3b43590fa276aef824a300b911fe5fb9083dbf5
vfio: Split VFIO_GROUP_GET_STATUS into a function

This is the last sizable implementation in vfio_group_fops_unl_ioctl(),
move it to a function so vfio_group_fops_unl_ioctl() is emptied out.

Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Link: https://lore.kernel.org/r/8-v2-0f9e632d54fb+d6-vfio_ioctl_split_jgg@nvidia.com
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
drivers/vfio/vfio_main.c