Hi, this is a resend of a few patches that lingered behind in the past months. They are all reviewed and tested.
patch 1 is the test for the file transport which missed the last pull; patches 2-6 are two small refactorings to ram.c that are prerequisite for the fixed ram work; patch 7 enables the multifd cancel test which has been fixed for a while now since commit 01ec0f3a92 ("migration/multifd: Protect accesses to migration_threads"). CI run: https://gitlab.com/farosas/qemu/-/pipelines/1033679993 Thanks! Fabiano Rosas (6): tests/qtest: migration-test: Add tests for file-based migration migration/ram: Remove RAMState from xbzrle_cache_zero_page migration/ram: Stop passing QEMUFile around in save_zero_page migration/ram: Move xbzrle zero page handling into save_zero_page migration/ram: Merge save_zero_page functions tests/qtest: Re-enable multifd cancel test Nikolay Borisov (1): migration/ram: Refactor precopy ram loading code migration/ram.c | 216 ++++++++++++++++++----------------- tests/qtest/migration-test.c | 157 +++++++++++++++++++++++-- 2 files changed, 258 insertions(+), 115 deletions(-) -- 2.35.3