Skip to content

tools/vmtb: Parallel multi-VM migration and tests reconfiguration

Adam Miszczak igt-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3tools/vmtb: Support parallel multi-VM busy migrationtools/vmtb/vmm_flows/test_migration.py+114 -571 reply
2/3tools/vmtb: Skip double migration tests on no-debug configtools/vmtb/vmm_flows/test_migration.py+13 -01 reply
3/3tools/vmtb: Reconfigure tests setuptools/vmtb/vmm_flows/test_basic.py tools/vmtb/vmm_flows/test_migration.py+30 -361 reply

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchMarcin Bernatowicz
1/3R-b
2/3R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH i-g-t 0/3] tools/vmtb: Parallel multi-VM migration and tests reconfiguration

This series extends VMTB VF migration validation coverage with parallel multi-VM migration and reconfigures test variants to auto provisioning.

Patch 1:
Extend BaseTestBusyMigration to migrate multiple VMs concurrently. Source/destination pairs go from the edges to the center (VM0->VM(N-1), VM1->VM(N-2), ...).
Save and load use two-phase async operations: all migrations start first, then each one is polled for completion.
The IGT workload runs on every source VM.
The single-VM (same source and destination VF) flow is kept. For odd VM counts, the center VM is not migrated.

Patch 2:
Skip double migration tests when the debugfs 'resfix_stoppers' hook isn't available (KMD no-debug build), instead of failing them.

Patch 3:
Reconfigure the tests setup:
- switch basic and migration test variants to auto resources and scheduling provisioning
- drop the 'full' migration variant; busy migration tests 1xVF and 2xVF config scope by default
- add TestBusyMigrationParallel with 4xVF and 6xVF variants, which uses the parallel migration support from patch 1
- remove the manual EQ/PT override in test_2vm_pause_resume, which is no longer needed since the driver provides finite defaults
- limit TestVfDriverLoadRemove to 2 VMs to avoid exhausting host memory on systems with limited host RAM (<=16GB)

Cc Marcin Bernatowicz <[email protected]>
Cc Kamil Konieczny <[email protected]>

Adam Miszczak (3):
tools/vmtb: Support parallel multi-VM busy migration tools/vmtb: Skip double migration tests on no-debug config tools/vmtb: Reconfigure tests setup

 tools/vmtb/vmm_flows/test_basic.py     |  15 +-
 tools/vmtb/vmm_flows/test_migration.py | 235 ++++++++++++++++---------
 2 files changed, 157 insertions(+), 93 deletions(-)
Signature · 1 line
2.39.1