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(-)

-- 
2.50.1


Reply via email to