vmtb: Modernize SR-IOV VM Test Bench core
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest10 patches 10 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/10 | tools/vmtb: Update QEMU parameterstools/ tools/ | +25 | 1 reply | |
| 2/10 | tools/vmtb: Fix DUT selection based on card indextools/ tools/ tools/ +1 more | +21 | 1 reply | |
| 3/10 | tools/vmtb: Fix VM snapshot query handlingtools/ | +13 | 1 reply | |
| 4/10 | tools/vmtb: Extend IGT and WSIM abstractionstools/ tools/ tools/ +3 more | +78 | 1 reply | |
| 5/10 | tools/vmtb: VF auto/fair provisioning supporttools/ tools/ tools/ +4 more | +164 | 1 reply | |
| 6/10 | tools/vmtb: Refactor driver interfacestools/ tools/ tools/ +1 more | +301 | 1 reply | |
| 7/10 | tools/vmtb: Introduce VirtualDevice classtools/ tools/ tools/ +2 more | +198 | 1 reply | |
| 8/10 | tools/vmtb: Redesign VirtualMachine classtools/ tools/ | +116 | 1 reply | |
| 9/10 | tools/vmtb: Support max VFs configurationtools/ | +26 | 1 reply | |
| 10/10 | tools/vmtb: Platform enabling: PTL and BMG supporttools/ tools/ tools/ | +154 | 1 reply |
Reviews trailers per patch
All 10 patches have a Reviewed-by or Acked-by.
| Patch | Marcin Bernatowicz |
|---|---|
| 1/10 | R-b |
| 2/10 | R-b |
| 3/10 | R-b |
| 4/10 | R-b |
| 5/10 | R-b |
| 6/10 | R-b |
| 7/10 | R-b |
| 8/10 | R-b |
| 9/10 | R-b |
| 10/10 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH i-g-t 00/10] vmtb: Modernize SR-IOV VM Test Bench core
Update and refactor VMTB core implementation, align with the current Xe KMD SR-IOV state and prepare for a broader test coverage.
Introduced changes:
- refactor driver abstractions into common Driver/PF/VF interfaces, including updated sysfs/debugfs interfaces
- split VM-side abstractions into VirtualMachine, VirtualDevice and VfDriver with clearer responsibilities
- add auto/fair provisioning mode next to vGPU profile mode and align scheduling/resources handling
- support maximum VFs test config
- extend IGT/gem_wsim abstractions (object-oriented result checks, repeated execution support, resource-based wsim workload descriptors)
- adjust QEMU launch parameters (SSH forwarding, migration capability handling, disable emulated VGA)
- enable support for Panther Lake (PTL) and Battlemage (BMG) platforms with PCI Device IDs and vGPU profile resources
Adam Miszczak (10):
tools/vmtb: Update QEMU parameters tools/vmtb: Fix DUT selection based on card index tools/vmtb: Fix VM snapshot query handling tools/vmtb: Extend IGT and WSIM abstractions tools/vmtb: VF auto/fair provisioning support tools/vmtb: Refactor driver interfaces tools/vmtb: Introduce VirtualDevice class tools/vmtb: Redesign VirtualMachine class tools/vmtb: Support max VFs configuration tools/vmtb: Platform enabling: PTL and BMG support
tools/vmtb/bench/configurators/pci.py | 43 ++-
.../vmtb/bench/configurators/vgpu_profile.py | 37 ++-
.../configurators/vgpu_profile_config.py | 7 +-
tools/vmtb/bench/configurators/vmtb_config.py | 4 +-
tools/vmtb/bench/drivers/driver_interface.py | 179 +++++++++---
tools/vmtb/bench/drivers/xe.py | 213 +++++++-------
tools/vmtb/bench/executors/gem_wsim.py | 45 ++-
tools/vmtb/bench/executors/igt.py | 36 ++-
tools/vmtb/bench/machines/device_interface.py | 14 +-
tools/vmtb/bench/machines/host.py | 17 +-
.../vmtb/bench/machines/machine_interface.py | 6 +-
tools/vmtb/bench/machines/physical/device.py | 145 ++++++----
.../machines/virtual/backends/qmp_monitor.py | 25 +-
tools/vmtb/bench/machines/virtual/device.py | 179 ++++++++++++
tools/vmtb/bench/machines/virtual/vm.py | 263 +++++++++---------
tools/vmtb/vmm_flows/conftest.py | 167 ++++++++---
.../{Flex170.json => Bmg_g21_12.json} | 58 ++--
.../resources/vgpu_profiles/Ptl.json | 97 +++++++
tools/vmtb/vmm_flows/test_basic.py | 25 +-
tools/vmtb/vmtb_config.json | 1 +
20 files changed, 1066 insertions(+), 495 deletions(-)
create mode 100644 tools/vmtb/bench/machines/virtual/device.py
rename tools/vmtb/vmm_flows/resources/vgpu_profiles/{Flex170.json => Bmg_g21_12.json} (73%)
create mode 100644 tools/vmtb/vmm_flows/resources/vgpu_profiles/Ptl.jsonSignature · 1 line
2.39.1