[PATCH i-g-t 0/4] tests/intel/xe_sriov_vfio: Add basic VFIO coverage

Marcin Bernatowicz
2026-03-18T16:15:01Z

Add xe_sriov_vfio test covering basic xe-vfio-pci module handling
and VFIO smoke-test paths for SR-IOV VFs.

The first patch adds standalone module load/unload subtests. The second
adds a dynamic bind-unbind-vfs subtest that enables VFs and binds each
of them to xe-vfio-pci through driver_override. The remaining patches
add basic VFIO coverage by opening the VFIO group and querying VFIO
region information for a VF bound to xe-vfio-pci.

Marcin Bernatowicz (4):
tests/intel/xe_sriov_vfio: Add module load/unload subtests
tests/intel/xe_sriov_vfio: Add dynamic bind-unbind-vfs subtest
tests/intel/xe_sriov_vfio: Add open-basic subtest
tests/intel/xe_sriov_vfio: Add region-info subtest

tests/intel/xe_sriov_vfio.c | 479 ++++++++++++++++++++++++++++++++++++
tests/meson.build | 1 +
2 files changed, 480 insertions(+)
create mode 100644 tests/intel/xe_sriov_vfio.c

--
2.43.0