diff options
author | Jason Gunthorpe <[email protected]> | 2022-10-07 11:04:39 -0300 |
---|---|---|
committer | Alex Williamson <[email protected]> | 2022-10-07 08:10:52 -0600 |
commit | 4b22ef042d6f54a6e5899555f2db71749133eca8 (patch) | |
tree | 10838fcdc932cb2db6cacbd5764b47f5e5f51278 /tools/testing/selftests/bpf/prog_tests/prog_array_init.c | |
parent | c82e81ab2569559ad873b3061217c2f37560682b (diff) |
vfio: Add vfio_file_is_group()
This replaces uses of vfio_file_iommu_group() which were only detecting if
the file is a VFIO file with no interest in the actual group.
The only remaning user of vfio_file_iommu_group() is in KVM for the SPAPR
stuff. It passes the iommu_group into the arch code through kvm for some
reason.
Tested-by: Matthew Rosato <[email protected]>
Tested-by: Christian Borntraeger <[email protected]>
Tested-by: Eric Farman <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alex Williamson <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions