[PATCH 0/4] tests/migration-test: Introduce mem_type

Peter Xu posted 4 patches 2 days, 12 hours ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20251117223908.415965-1-peterx@redhat.com
Maintainers: Peter Xu <peterx@redhat.com>, Fabiano Rosas <farosas@suse.de>, Laurent Vivier <lvivier@redhat.com>, Paolo Bonzini <pbonzini@redhat.com>
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(-)
[PATCH 0/4] tests/migration-test: Introduce mem_type
Posted by Peter Xu 2 days, 12 hours ago
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