Skip to content

tests/migration-test: Introduce mem_type

Peter Xu qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4tests/migration-test: Introduce MemTypetests/qtest/migration/cpr-tests.c tests/qtest/migration/framework.c tests/qtest/migration/framework.h +1 more+68 -250 replies
2/4tests/migration-test: Merge shmem_opts into memory_backendtests/qtest/migration/framework.c+26 -152 replies
3/4tests/migration-test: Add MEM_TYPE_SHMEMtests/qtest/migration/framework.c tests/qtest/migration/framework.h+16 -00 replies
4/4tests/migration-test: Use MEM_TYPE_MEMFD for memory_backendtests/qtest/migration/cpr-tests.c tests/qtest/migration/framework.c tests/qtest/migration/framework.h+5 -160 replies

Reviews trailers per patch

1 of 4 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchJuraj MarcinFabiano Rosas
SeriesR-b
1/4
2/4R-b
3/4
4/4

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 0/4] tests/migration-test: Introduce mem_type

This is a small refactor series to merge memory_backend and use_shmem parameters that migration-test uses to specify memory types. No rush for having it for 10.2, but since this is test code, we can also consider it as the current two parameters are definitely confusing..

This series will also make guest-memfd support extremely easy to add too.

Comments welcomed, thanks.

Peter Xu (4):
tests/migration-test: Introduce MemType tests/migration-test: Merge shmem_opts into memory_backend tests/migration-test: Add MEM_TYPE_SHMEM tests/migration-test: Use MEM_TYPE_MEMFD for memory_backend

 tests/qtest/migration/framework.h  |  26 +++++--
 tests/qtest/migration/cpr-tests.c  |   8 +-
 tests/qtest/migration/framework.c  | 113 ++++++++++++++++++++---------
 tests/qtest/migration/misc-tests.c |   2 +-
 4 files changed, 104 insertions(+), 45 deletions(-)
Signature · 1 line
2.50.1