Skip to content

Migration PULL request

Juan Quintela qemu-devel qemu-trivial 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest30 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/30migration/channel-block: fix return value for qio_channel_block_{readv, writev}migration/channel-block.c+4 -20 replies
2/30migration/multifd/zero-copy: Create helper function for flushingmigration/multifd.c+19 -110 replies
3/30migration: check magic value for deciding the mapping of channelsinclude/io/channel.h io/channel-socket.c io/channel.c +5 more+130 -260 replies
4/30multifd: Create page_size fields into both MultiFD{Recv, Send}Paramsmigration/multifd-zlib.c migration/multifd-zstd.c migration/multifd.c +1 more+23 -250 replies
5/30multifd: Create page_count fields into both MultiFD{Recv, Send}Paramsmigration/multifd.c migration/multifd.h+8 -30 replies
6/30migration: Export ram_transferred_ram()migration/ram.c migration/ram.h+3 -10 replies
7/30migration: Export ram_release_page()migration/ram.c migration/ram.h+2 -10 replies
8/30Update AVX512 support for xbzrle_encode_buffermeson.build meson_options.txt migration/ram.c +3 more+186 -80 replies
9/30Unit test code and benchmark codetests/bench/meson.build tests/bench/xbzrle-bench.c tests/unit/test-xbzrle.c+503 -50 replies
10/30migration: Fix possible infinite loop of ram save processmigration/ram.c+12 -40 replies
11/30migration: Fix race on qemu_file_shutdown()migration/qemu-file.c+24 -30 replies
12/30migration: Disallow postcopy preempt to be used with compressmigration/migration.c+11 -00 replies
13/30migration: Use non-atomic ops for clear log bitmapinclude/exec/ram_addr.h include/exec/ramblock.h include/qemu/bitmap.h +1 more+55 -50 replies
14/30migration: Disable multifd explicitly with compressionmigration/migration.c migration/ram.c+12 -60 replies
15/30migration: Take bitmap mutex when completing ram migrationmigration/ram.c+2 -00 replies
16/30migration: Add postcopy_preempt_active()migration/ram.c+7 -20 replies
17/30migration: Cleanup xbzrle zero page cache update logicmigration/ram.c+1 -50 replies
18/30migration: Trivial cleanup save_page_header() on same block checkmigration/ram.c+3 -20 replies
19/30migration: Remove RAMState.f references in compression codemigration/ram.c+7 -50 replies
20/30migration: Yield bitmap_mutex properly when sending/sleepingmigration/ram.c+35 -110 replies
21/30migration: Use atomic ops properly for page accountingsmigration/migration.c migration/multifd.c migration/ram.c +1 more+51 -230 replies
22/30migration: Teach PSS about host pagemigration/ram.c+76 -190 replies
23/30migration: Introduce pss_channelmigration/ram.c+38 -320 replies
24/30migration: Add pss_init()migration/ram.c+9 -30 replies
25/30migration: Make PageSearchStatus part of RAMStatemigration/ram.c+61 -510 replies
26/30migration: Move last_sent_block into PageSearchStatusmigration/ram.c+41 -300 replies
27/30migration: Send requested page directly in rp-return threadmigration/migration.c migration/ram.c+131 -160 replies
28/30migration: Remove old preempt code around state maintainancemigration/migration.c migration/migration.h migration/ram.c+3 -2970 replies
29/30migration: Drop rs->fmigration/ram.c+4 -80 replies
30/30migration: Block migration comment or code is wrongmigration/block.c+2 -20 replies

Reviews trailers per patch

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

PatchJuan QuintelaLeonardo BrasDr. David Alan GilbertDavid EdmondsonZhou ZhaoJun JinStefan Hajnoczi
1/30R-b
2/30R-b
3/30R-b
4/30R-b
5/30R-b
6/30R-b R-b R-b
7/30R-b
8/30R-b Co-authored-by Co-authored-by
9/30R-b Co-authored-by Co-authored-by
10/30R-b R-b
11/30R-b R-b
12/30R-b R-b
13/30R-b R-b
14/30R-b R-b
15/30R-b R-b
16/30R-b R-b
17/30R-b R-b
18/30R-b R-b
19/30R-b
20/30R-b R-b
21/30R-b R-b
22/30R-b R-b
23/30R-b R-b
24/30R-b R-b
25/30R-b R-b
26/30R-b R-b
27/30R-b R-b
28/30R-b R-b
29/30R-b R-b
30/30R-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 7 reviewers.

Read the v1 thread

Cover letter [PATCH 00/30] Migration PULL request

Hi

It includes:
- Leonardo fix for zero_copy flush
- Fiona fix for return value of readv/writev
- Peter Xu cleanups
- Peter Xu preempt patches
- Patches ready from zero page (me)
- AVX2 support (ling)
- fix for slow networking and reordering of first packets (manish)

Please, apply.

Fiona Ebner (1):
migration/channel-block: fix return value for

    qio_channel_block_{readv,writev}

Juan Quintela (5):
multifd: Create page_size fields into both MultiFD{Recv,Send}Params
multifd: Create page_count fields into both MultiFD{Recv,Send}Params
migration: Export ram_transferred_ram()
migration: Export ram_release_page()
migration: Block migration comment or code is wrong

Leonardo Bras (1):
migration/multifd/zero-copy: Create helper function for flushing

Peter Xu (20):
migration: Fix possible infinite loop of ram save process
migration: Fix race on qemu_file_shutdown()
migration: Disallow postcopy preempt to be used with compress
migration: Use non-atomic ops for clear log bitmap
migration: Disable multifd explicitly with compression
migration: Take bitmap mutex when completing ram migration
migration: Add postcopy_preempt_active()
migration: Cleanup xbzrle zero page cache update logic
migration: Trivial cleanup save_page_header() on same block check
migration: Remove RAMState.f references in compression code
migration: Yield bitmap_mutex properly when sending/sleeping
migration: Use atomic ops properly for page accountings
migration: Teach PSS about host page
migration: Introduce pss_channel
migration: Add pss_init()
migration: Make PageSearchStatus part of RAMState
migration: Move last_sent_block into PageSearchStatus
migration: Send requested page directly in rp-return thread
migration: Remove old preempt code around state maintainance
migration: Drop rs->f

ling xu (2):
Update AVX512 support for xbzrle_encode_buffer
Unit test code and benchmark code

manish.mishra (1):
migration: check magic value for deciding the mapping of channels

 meson.build                   |  16 +
 include/exec/ram_addr.h       |  11 +-
 include/exec/ramblock.h       |   3 +
 include/io/channel.h          |  25 ++
 include/qemu/bitmap.h         |   1 +
 migration/migration.h         |   7 -
 migration/multifd.h           |  10 +-
 migration/postcopy-ram.h      |   2 +-
 migration/ram.h               |  23 +
 migration/xbzrle.h            |   4 +
 io/channel-socket.c           |  27 ++
 io/channel.c                  |  39 ++
 migration/block.c             |   4 +-
 migration/channel-block.c     |   6 +-
 migration/migration.c         | 109 +++--
 migration/multifd-zlib.c      |  14 +-
 migration/multifd-zstd.c      |  12 +-
 migration/multifd.c           |  69 +--
 migration/postcopy-ram.c      |   5 +-
 migration/qemu-file.c         |  27 +-
 migration/ram.c               | 794 +++++++++++++++++-----------------
 migration/xbzrle.c            | 124 ++++++
 tests/bench/xbzrle-bench.c    | 465 ++++++++++++++++++++
 tests/unit/test-xbzrle.c      |  39 +-
 util/bitmap.c                 |  45 ++
 meson_options.txt             |   2 +
 scripts/meson-buildoptions.sh |  14 +-
 tests/bench/meson.build       |   4 +
 28 files changed, 1379 insertions(+), 522 deletions(-)
 create mode 100644 tests/bench/xbzrle-bench.c
Signature · 1 line
2.38.1