[PULL 00/11] Migration staging patches

Peter Xu posted 11 patches 4 months, 3 weeks ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20250623200656.1882674-1-peterx@redhat.com
Maintainers: Paolo Bonzini <pbonzini@redhat.com>, "Michael S. Tsirkin" <mst@redhat.com>, David Hildenbrand <david@redhat.com>, Peter Xu <peterx@redhat.com>, "Philippe Mathieu-Daudé" <philmd@linaro.org>, Steve Sistare <steven.sistare@oracle.com>, Fabiano Rosas <farosas@suse.de>, Laurent Vivier <lvivier@redhat.com>, "Marc-André Lureau" <marcandre.lureau@redhat.com>
MAINTAINERS                       |   1 +
include/system/memory.h           | 110 +++++--
include/system/ramblock.h         |  22 ++
ui/vnc.h                          |   2 +
accel/kvm/kvm-all.c               |   9 +
hw/virtio/virtio-mem.c            |  83 ++---
migration/cpr-transfer.c          |   7 +-
migration/ram.c                   |  31 +-
system/memory.c                   |  22 +-
system/physmem.c                  |  23 +-
system/ram-block-attributes.c     | 444 +++++++++++++++++++++++++
tests/qtest/migration-helpers.c   | 530 ------------------------------
tests/qtest/migration/cpr-tests.c |  14 +-
ui/vnc.c                          |  12 +
system/meson.build                |   1 +
system/trace-events               |   3 +
16 files changed, 688 insertions(+), 626 deletions(-)
create mode 100644 system/ram-block-attributes.c
delete mode 100644 tests/qtest/migration-helpers.c
[PULL 00/11] Migration staging patches
Posted by Peter Xu 4 months, 3 weeks ago
The following changes since commit 43ba160cb4bbb193560eb0d2d7decc4b5fc599fe:

  Merge tag 'for-upstream' of https://gitlab.com/bonzini/qemu into staging (2025-06-21 10:00:46 -0400)

are available in the Git repository at:

  https://gitlab.com/peterx/qemu.git tags/migration-staging-pull-request

for you to fetch changes up to 2fde3fb916079ee0ff0fc26d9446c813b1d5cc28:

  physmem: Support coordinated discarding of RAM with guest_memfd (2025-06-23 16:03:59 -0400)

----------------------------------------------------------------
Migration / Memory pull

- Yanfei's optimization to skip log_clear during completion
- Fabiano's cleanup to remove leftover migration-helpers.c file
- Juraj's vnc fix on display pause after migration
- Jaehoon's cpr test fix on possible race of server establishment
- Chenyi's initial support on vfio enablement for guest-memfd

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

Chaney, Ben (1):
  migration: Don't sync volatile memory after migration completes

Chenyi Qiang (5):
  memory: Export a helper to get intersection of a MemoryRegionSection
    with a given range
  memory: Change memory_region_set_ram_discard_manager() to return the
    result
  memory: Unify the definiton of ReplayRamPopulate() and
    ReplayRamDiscard()
  ram-block-attributes: Introduce RamBlockAttributes to manage RAMBlock
    with guest_memfd
  physmem: Support coordinated discarding of RAM with guest_memfd

Fabiano Rosas (1):
  tests/qtest: Remove migration-helpers.c

Jaehoon Kim (2):
  migration: Support fd-based socket address in cpr_transfer_input
  tests/migration: Setup pre-listened cpr.sock to remove race-condition.

Juraj Marcin (1):
  ui/vnc: Update display update interval when VM state changes to
    RUNNING

Yanfei Xu (1):
  migration/ram: avoid to do log clear in the last round

 MAINTAINERS                       |   1 +
 include/system/memory.h           | 110 +++++--
 include/system/ramblock.h         |  22 ++
 ui/vnc.h                          |   2 +
 accel/kvm/kvm-all.c               |   9 +
 hw/virtio/virtio-mem.c            |  83 ++---
 migration/cpr-transfer.c          |   7 +-
 migration/ram.c                   |  31 +-
 system/memory.c                   |  22 +-
 system/physmem.c                  |  23 +-
 system/ram-block-attributes.c     | 444 +++++++++++++++++++++++++
 tests/qtest/migration-helpers.c   | 530 ------------------------------
 tests/qtest/migration/cpr-tests.c |  14 +-
 ui/vnc.c                          |  12 +
 system/meson.build                |   1 +
 system/trace-events               |   3 +
 16 files changed, 688 insertions(+), 626 deletions(-)
 create mode 100644 system/ram-block-attributes.c
 delete mode 100644 tests/qtest/migration-helpers.c

-- 
2.49.0
Re: [PULL 00/11] Migration staging patches
Posted by Stefan Hajnoczi 4 months, 3 weeks ago
Applied, thanks.

Please update the changelog at https://wiki.qemu.org/ChangeLog/10.1 for any user-visible changes.