[PULL v2 00/30] Migration patches for 2026-08-28

Fabiano Rosas posted 30 patches 4 weeks, 1 day ago
Failed in applying to current master (apply log)
Maintainers: Peter Xu <peterx@redhat.com>, Fabiano Rosas <farosas@suse.de>, Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com>, "Michael S. Tsirkin" <mst@redhat.com>, Paolo Bonzini <pbonzini@redhat.com>, Fam Zheng <fam@euphon.net>, "Philippe Mathieu-Daudé" <philmd@mailo.com>, Li Zhijian <lizhijian@fujitsu.com>, Manos Pitsidianakis <manos.pitsidianakis@linaro.org>, Laurent Vivier <lvivier@redhat.com>
docs/devel/migration/fast-snapshot-load.rst |  82 +++++
docs/devel/migration/features.rst           |   1 +
hw/pci/msix.c                               |   6 +-
hw/scsi/scsi-bus.c                          |   6 +-
include/migration/vmstate.h                 | 388 +++++++++-----------
include/qemu/notify.h                       |   2 +
include/system/ramblock.h                   |   6 +
migration/migration.c                       |  66 ++--
migration/migration.h                       |   5 +
migration/options.c                         |  20 +-
migration/postcopy-ram.c                    | 365 +++++++++++++++---
migration/postcopy-ram.h                    |   8 +-
migration/qemu-file.c                       |  11 +-
migration/qemu-file.h                       |   4 +-
migration/ram.c                             | 101 ++++-
migration/rdma.c                            | 349 ++++++------------
migration/savevm.c                          |  45 ++-
migration/savevm.h                          |   2 +
migration/trace-events                      |  83 ++---
migration/vmstate.c                         | 116 ++++--
rust/bindings/migration-sys/lib.rs          |  17 +-
rust/migration/src/vmstate.rs               |  32 +-
rust/tests/tests/vmstate_tests.rs           |  32 +-
tests/qtest/migration/file-tests.c          |  24 ++
tests/qtest/migration/misc-tests.c          |  52 ---
util/notify.c                               |   5 +
26 files changed, 1115 insertions(+), 713 deletions(-)
create mode 100644 docs/devel/migration/fast-snapshot-load.rst
[PULL v2 00/30] Migration patches for 2026-08-28
Posted by Fabiano Rosas 4 weeks, 1 day ago
The following changes since commit 0a1ebd448b38afaa118597cbb633dbec24ef74d3:

  tcg/loongarch64: Fix compile issue LoongArch host (2026-08-27 11:04:01 -0700)

are available in the Git repository at:

  https://gitlab.com/farosas/qemu.git tags/migration-20260828-pull-request

for you to fetch changes up to 96e7412cd5581edf6bd3b966afa3abeb53b5a6a9:

  migration/postcopy: fix page_requested leak for vhost-user shared pages (2026-08-28 09:09:32 -0300)

----------------------------------------------------------------
Migration pull request

- New feature: Fast Snapshot Load
- Cleanups and hardening of RDMA code
- Cleanups and hardening of vmstate code
- Fix for vhost-user postcopy hang
- Fix for CVE-2026-6426

----------------------------------------------------------------

Aadeshveer Singh (11):
  migration: Propagate error in postcopy setup functions
  migration: Extract blocktime marking helper
  migration: Rename postcopy_listen_thread_bh
  migration: Use file_bmap for RAMBlock during incoming file load
  migration: Make qemu_get_buffer_at() thread-safe
  migration: add RAMBlock field and helper for fast snapshot load
  migration: add support for fault thread to load pages from disk
  migration: add eager load thread and setup for fast snapshot load
  migration: update capability conflict test for postcopy-ram+mapped-ram
  migration/tests: Add test for fast snapshot load
  docs/migration: Add documentation for fast snapshot load feature

Fabiano Rosas (8):
  migration: Remove unused vmstate macros
  migration: Introduce VMStateStructMember
  migration: Remove redundant flags
  migration: Remove duplicate vmstate macros
  migration: Add VMS_NO_STATE flag
  migration: Check more vmstate flags
  migration: Harden vmstate_handle_alloc
  migration: Harden vmstate_size

Peter Xu (10):
  migration/rdma: Introduce RDMA_CONTROL_NUM
  migration/rdma: Remove unregister code
  migration/rdma: Stick with rdma_ prefix for all tracepoints
  migration/rdma: Drop RDMALocalBlock.is_ram_block
  migration/rdma: Drop RDMALocalBlock.unregister_bitmap
  migration/rdma: Drop RDMARegister.key.chunk
  migration/rdma: Sanity check RDMA_CONTROL_REGISTER_REQUEST on buflen
  migration/rdma: Sanity check RDMA_CONTROL_REGISTER_REQUEST chunks
  migration/rdma: Sanity check upper bound of register MR address
  migration/rdma: Sanity check compress request ranges

hongmianquan (1):
  migration/postcopy: fix page_requested leak for vhost-user shared
    pages

 docs/devel/migration/fast-snapshot-load.rst |  82 +++++
 docs/devel/migration/features.rst           |   1 +
 hw/pci/msix.c                               |   6 +-
 hw/scsi/scsi-bus.c                          |   6 +-
 include/migration/vmstate.h                 | 388 +++++++++-----------
 include/qemu/notify.h                       |   2 +
 include/system/ramblock.h                   |   6 +
 migration/migration.c                       |  66 ++--
 migration/migration.h                       |   5 +
 migration/options.c                         |  20 +-
 migration/postcopy-ram.c                    | 365 +++++++++++++++---
 migration/postcopy-ram.h                    |   8 +-
 migration/qemu-file.c                       |  11 +-
 migration/qemu-file.h                       |   4 +-
 migration/ram.c                             | 101 ++++-
 migration/rdma.c                            | 349 ++++++------------
 migration/savevm.c                          |  45 ++-
 migration/savevm.h                          |   2 +
 migration/trace-events                      |  83 ++---
 migration/vmstate.c                         | 116 ++++--
 rust/bindings/migration-sys/lib.rs          |  17 +-
 rust/migration/src/vmstate.rs               |  32 +-
 rust/tests/tests/vmstate_tests.rs           |  32 +-
 tests/qtest/migration/file-tests.c          |  24 ++
 tests/qtest/migration/misc-tests.c          |  52 ---
 util/notify.c                               |   5 +
 26 files changed, 1115 insertions(+), 713 deletions(-)
 create mode 100644 docs/devel/migration/fast-snapshot-load.rst

-- 
2.53.0
Re: [PULL v2 00/30] Migration patches for 2026-08-28
Posted by Richard Henderson 4 weeks ago
On 8/28/26 08:58, Fabiano Rosas wrote:
> The following changes since commit 0a1ebd448b38afaa118597cbb633dbec24ef74d3:
> 
>    tcg/loongarch64: Fix compile issue LoongArch host (2026-08-27 11:04:01 -0700)
> 
> are available in the Git repository at:
> 
>    https://gitlab.com/farosas/qemu.git tags/migration-20260828-pull-request
> 
> for you to fetch changes up to 96e7412cd5581edf6bd3b966afa3abeb53b5a6a9:
> 
>    migration/postcopy: fix page_requested leak for vhost-user shared pages (2026-08-28 09:09:32 -0300)
> 
> ----------------------------------------------------------------
> Migration pull request
> 
> - New feature: Fast Snapshot Load
> - Cleanups and hardening of RDMA code
> - Cleanups and hardening of vmstate code
> - Fix for vhost-user postcopy hang
> - Fix for CVE-2026-6426

Applied, thanks.

r~