Skip to content

Migration PULL request (20230508 edition)

Juan Quintela qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest13 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/13qtest/migration-test.c: Add tests with compress enabledtests/qtest/migration-test.c+109 -00 replies
2/13qtest/migration-test.c: Add postcopy tests with compress enabledtests/qtest/migration-test.c+55 -300 replies
3/13ram.c: Let the compress threads return a CompressResult enummigration/ram.c+22 -120 replies
4/13ram.c: Dont change param->block in the compress threadmigration/ram.c+4 -20 replies
5/13ram.c: Reset result after sending queued datamigration/ram.c+22 -100 replies
6/13ram.c: Do not call save_page_header() from compress threadsmigration/ram.c+35 -90 replies
7/13ram.c: Call update_compress_thread_counts from compress_send_queued_datamigration/ram.c+6 -120 replies
8/13ram.c: Remove last ram.c dependency from the core compress codemigration/ram.c+17 -100 replies
9/13ram.c: Move core compression code into its own filemigration/meson.build migration/ram-compress.c migration/ram-compress.h +1 more+344 -2620 replies
10/13ram.c: Move core decompression code into its own filemigration/ram-compress.c migration/ram-compress.h migration/ram.c+208 -2040 replies
11/13ram compress: Assert that the file buffer matches the resultmigration/qemu-file.c migration/qemu-file.h migration/ram-compress.c +1 more+19 -00 replies
12/13ram-compress.c: Make target independentmigration/meson.build migration/ram-compress.c+12 -80 replies
13/13migration: Initialize and cleanup decompression in migration.cmigration/migration.c migration/ram.c+9 -50 replies

Reviews trailers per patch

All 13 patches have a Reviewed-by or Acked-by.

PatchJuan QuintelaPeter XuPhilippe Mathieu-Daudé
1/13R-b A-b
2/13R-b
3/13R-b
4/13R-b
5/13R-b
6/13R-b
7/13R-b
8/13R-b
9/13R-b
10/13R-b R-b
11/13R-b
12/13R-b R-b
13/13R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH 00/13] Migration PULL request (20230508 edition)

Hi

This is just the compression bits of the Migration PULL request for 20230428. Only change is that we don't run the compression tests by default.

The problem already exist with compression code. The test just show that it don't work.

Please apply, Juan.

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        |   6 +-
 migration/migration.c        |   9 +
 migration/qemu-file.c        |  11 +
 migration/qemu-file.h        |   1 +
 migration/ram-compress.c     | 485 +++++++++++++++++++++++++++++++++
 migration/ram-compress.h     |  70 +++++
 migration/ram.c              | 502 +++--------------------------------
 tests/qtest/migration-test.c | 134 ++++++++++
 8 files changed, 758 insertions(+), 460 deletions(-)
 create mode 100644 migration/ram-compress.c
 create mode 100644 migration/ram-compress.h
Signature · 1 line
2.40.0