The following changes since commit 05d50ba2d4668d43a835c5a502efdec9b92646e6:
Merge tag 'migration-20230427-pull-request' of https://gitlab.com/juan.quintela/qemu into staging (2023-04-28 08:35:06 +0100) are available in the Git repository at: https://gitlab.com/juan.quintela/qemu.git tags/migration-20230428-pull-request for you to fetch changes up to 05ecac612ec6a4bdb358e68554b4406ac2c8e25a: migration: Initialize and cleanup decompression in migration.c (2023-04-28 20:54:53 +0200) ---------------------------------------------------------------- Migration Pull request (20230429 vintage) Hi In this series: - compression code cleanup (lukas) nice, nice, nice. - drop useless parameters from migration_tls* (juan) - first part of remove QEMUFileHooks series (juan) Please apply. ---------------------------------------------------------------- Juan Quintela (8): multifd: We already account for this packet on the multifd thread migration: Move ram_stats to its own file migration-stats.[ch] migration: Rename ram_counters to mig_stats migration: Rename RAMStats to MigrationAtomicStats migration/rdma: Split the zero page case from acct_update_position migration/rdma: Unfold last user of acct_update_position() migration: Drop unused parameter for migration_tls_get_creds() migration: Drop unused parameter for migration_tls_client_create() Lukas Straub (13): qtest/migration-test.c: Add tests with compress enabled qtest/migration-test.c: Add postcopy tests with compress enabled ram.c: Let the compress threads return a CompressResult enum ram.c: Dont change param->block in the compress thread ram.c: Reset result after sending queued data ram.c: Do not call save_page_header() from compress threads ram.c: Call update_compress_thread_counts from compress_send_queued_data ram.c: Remove last ram.c dependency from the core compress code ram.c: Move core compression code into its own file ram.c: Move core decompression code into its own file ram compress: Assert that the file buffer matches the result ram-compress.c: Make target independent migration: Initialize and cleanup decompression in migration.c migration/meson.build | 7 +- migration/migration-stats.c | 17 ++ migration/migration-stats.h | 41 +++ migration/migration.c | 42 ++- migration/multifd.c | 12 +- migration/postcopy-ram.c | 2 +- migration/qemu-file.c | 11 + migration/qemu-file.h | 1 + migration/ram-compress.c | 485 ++++++++++++++++++++++++++++++ migration/ram-compress.h | 70 +++++ migration/ram.c | 562 ++++------------------------------- migration/ram.h | 24 -- migration/rdma.c | 9 +- migration/savevm.c | 3 +- migration/tls.c | 15 +- migration/tls.h | 3 +- tests/qtest/migration-test.c | 126 ++++++++ 17 files changed, 870 insertions(+), 560 deletions(-) create mode 100644 migration/migration-stats.c create mode 100644 migration/migration-stats.h create mode 100644 migration/ram-compress.c create mode 100644 migration/ram-compress.h -- 2.40.0