public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
From: Adam Miszczak <adam.miszczak@linux.intel.com>
To: igt-dev@lists.freedesktop.org
Cc: marcin.bernatowicz@linux.intel.com, kamil.konieczny@linux.intel.com
Subject: [PATCH i-g-t 00/10] vmtb: Modernize SR-IOV VM Test Bench core
Date: Tue, 24 Feb 2026 08:50:17 +0100	[thread overview]
Message-ID: <20260224075027.2409675-1-adam.miszczak@linux.intel.com> (raw)

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

Signed-off-by: Adam Miszczak <adam.miszczak@linux.intel.com>
Cc: Marcin Bernatowicz <marcin.bernatowicz@linux.intel.com>
Cc: Kamil Konieczny <kamil.konieczny@linux.intel.com>

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.json

-- 
2.39.1


             reply	other threads:[~2026-02-24  8:23 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-02-24  7:50 Adam Miszczak [this message]
2026-02-24  7:50 ` [PATCH i-g-t 01/10] tools/vmtb: Update QEMU parameters Adam Miszczak
2026-03-10 10:22   ` Bernatowicz, Marcin
2026-02-24  7:50 ` [PATCH i-g-t 02/10] tools/vmtb: Fix DUT selection based on card index Adam Miszczak
2026-03-10 10:26   ` Bernatowicz, Marcin
2026-02-24  7:50 ` [PATCH i-g-t 03/10] tools/vmtb: Fix VM snapshot query handling Adam Miszczak
2026-03-10 10:29   ` Bernatowicz, Marcin
2026-02-24  7:50 ` [PATCH i-g-t 04/10] tools/vmtb: Extend IGT and WSIM abstractions Adam Miszczak
2026-03-10 10:36   ` Bernatowicz, Marcin
2026-02-24  7:50 ` [PATCH i-g-t 05/10] tools/vmtb: VF auto/fair provisioning support Adam Miszczak
2026-03-10 10:38   ` Bernatowicz, Marcin
2026-02-24  7:50 ` [PATCH i-g-t 06/10] tools/vmtb: Refactor driver interfaces Adam Miszczak
2026-03-10 10:43   ` Bernatowicz, Marcin
2026-02-24  7:50 ` [PATCH i-g-t 07/10] tools/vmtb: Introduce VirtualDevice class Adam Miszczak
2026-03-10 10:45   ` Bernatowicz, Marcin
2026-02-24  7:50 ` [PATCH i-g-t 08/10] tools/vmtb: Redesign VirtualMachine class Adam Miszczak
2026-03-10 10:47   ` Bernatowicz, Marcin
2026-02-24  7:50 ` [PATCH i-g-t 09/10] tools/vmtb: Support max VFs configuration Adam Miszczak
2026-03-10 10:52   ` Bernatowicz, Marcin
2026-02-24  7:50 ` [PATCH i-g-t 10/10] tools/vmtb: Platform enabling: PTL and BMG support Adam Miszczak
2026-03-10 10:52   ` Bernatowicz, Marcin
2026-02-24 11:49 ` ✓ Xe.CI.BAT: success for vmtb: Modernize SR-IOV VM Test Bench core Patchwork
2026-02-24 12:43 ` ✓ i915.CI.BAT: " Patchwork
2026-02-24 16:27 ` ✗ i915.CI.Full: failure " Patchwork
2026-02-24 20:21 ` ✗ Xe.CI.FULL: " Patchwork

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260224075027.2409675-1-adam.miszczak@linux.intel.com \
    --to=adam.miszczak@linux.intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    --cc=kamil.konieczny@linux.intel.com \
    --cc=marcin.bernatowicz@linux.intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox