diff options
author | Yi Liu | 2023-07-18 03:55:34 -0700 |
---|---|---|
committer | Alex Williamson | 2023-07-25 10:17:42 -0600 |
commit | 6e6c513fe1d8b53417aa84a56fac5bbda8b3a720 (patch) | |
tree | e2f3dc930320cd23e97209b66b7faa777d9f0a62 /lib | |
parent | c60f932043301f11a9991fea88db1bf188f37791 (diff) |
vfio/pci: Move the existing hot reset logic to be a helper
This prepares to add another method for hot reset. The major hot reset logic
are moved to vfio_pci_ioctl_pci_hot_reset_groups().
No functional change is intended.
Suggested-by: Jason Gunthorpe <jgg@nvidia.com>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Tested-by: Yanting Jiang <yanting.jiang@intel.com>
Tested-by: Terrence Xu <terrence.xu@intel.com>
Tested-by: Zhenzhong Duan <zhenzhong.duan@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Signed-off-by: Yi Liu <yi.l.liu@intel.com>
Link: https://lore.kernel.org/r/20230718105542.4138-3-yi.l.liu@intel.com
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions