[PULL 00/26] Migration patches for 2025-07-11

Fabiano Rosas posted 26 patches 5 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20250711141031.423-1-farosas@suse.de
Maintainers: Peter Xu <peterx@redhat.com>, Fabiano Rosas <farosas@suse.de>, Alex Williamson <alex.williamson@redhat.com>, "Cédric Le Goater" <clg@redhat.com>, Nicholas Piggin <npiggin@gmail.com>, Daniel Henrique Barboza <danielhb413@gmail.com>, Harsh Prateek Bora <harshpb@linux.ibm.com>, Halil Pasic <pasic@linux.ibm.com>, Christian Borntraeger <borntraeger@linux.ibm.com>, Jason Herne <jjherne@linux.ibm.com>, Richard Henderson <richard.henderson@linaro.org>, David Hildenbrand <david@redhat.com>, Ilya Leoshkevich <iii@linux.ibm.com>, Thomas Huth <thuth@redhat.com>, Eric Farman <farman@linux.ibm.com>, Matthew Rosato <mjrosato@linux.ibm.com>, Eric Blake <eblake@redhat.com>, Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>, John Snow <jsnow@redhat.com>, Markus Armbruster <armbru@redhat.com>, Laurent Vivier <lvivier@redhat.com>, Paolo Bonzini <pbonzini@redhat.com>
docs/devel/migration/main.rst         |   4 +-
docs/devel/migration/postcopy.rst     |  36 +-
docs/devel/migration/vfio.rst         |  16 +-
hw/ppc/spapr.c                        |   2 +-
hw/s390x/s390-stattrib.c              |   2 +-
hw/vfio/migration-multifd.c           |   4 +-
hw/vfio/migration-multifd.h           |   2 +-
hw/vfio/migration.c                   |   4 +-
include/migration/misc.h              |   8 +-
include/migration/register.h          |  36 +-
include/qemu/typedefs.h               |   6 +-
migration/block-dirty-bitmap.c        |   3 +-
migration/migration-hmp-cmds.c        | 159 ++++++--
migration/migration.c                 |  87 ++--
migration/migration.h                 |   2 +-
migration/multifd-device-state.c      |  10 +-
migration/options.c                   |   2 +
migration/postcopy-ram.c              | 563 ++++++++++++++++++++------
migration/postcopy-ram.h              |   2 +
migration/ram.c                       |  32 +-
migration/savevm.c                    |  89 ++--
migration/trace-events                |   9 +-
qapi/migration.json                   |  38 ++
tests/qtest/migration/migration-qmp.c |   5 +
24 files changed, 799 insertions(+), 322 deletions(-)
[PULL 00/26] Migration patches for 2025-07-11
Posted by Fabiano Rosas 5 months ago
The following changes since commit df6fe2abf2e990f767ce755d426bc439c7bba336:

  Merge tag 'pull-target-arm-20250704' of https://gitlab.com/pm215/qemu into staging (2025-07-07 09:22:41 -0400)

are available in the Git repository at:

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

for you to fetch changes up to beeac2df5ff0850299e58f4ad27f83dae64c54df:

  migration: Rename save_live_complete_precopy_thread to save_complete_precopy_thread (2025-07-11 10:37:39 -0300)

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

- General cleanups around: postcopy, bg-snapshot, migration hooks,
  migration completion and formatting of 'info migrate'.

- Overhaul of postcopy blocktime tracking.

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

Juraj Marcin (1):
  migration: Rename save_live_complete_precopy_thread to
    save_complete_precopy_thread

Peter Xu (25):
  migration/hmp: Reorg "info migrate" once more
  migration/hmp: Fix postcopy-blocktime per-vCPU results
  migration/docs: Move docs for postcopy blocktime feature
  migration/bg-snapshot: Do not check for SKIP in iterator
  migration: Drop save_live_complete_postcopy hook
  migration: Rename save_live_complete_precopy to save_complete
  migration: qemu_savevm_complete*() helpers
  migration/ram: One less indent for ram_find_and_save_block()
  migration/ram: Add tracepoints for ram_save_complete()
  migration: Rewrite the migration complete detect logic
  migration/postcopy: Avoid clearing dirty bitmap for postcopy too
  migration: Add option to set postcopy-blocktime
  migration/postcopy: Push blocktime start/end into page req mutex
  migration/postcopy: Drop all atomic ops in blocktime feature
  migration/postcopy: Make all blocktime vars 64bits
  migration/postcopy: Drop PostcopyBlocktimeContext.start_time
  migration/postcopy: Bring blocktime layer to ns level
  migration/postcopy: Add blocktime fault counts per-vcpu
  migration/postcopy: Report fault latencies in blocktime
  migration/postcopy: Initialize blocktime context only until listen
  migration/postcopy: Cache the tid->vcpu mapping for blocktime
  migration/postcopy: Cleanup the total blocktime accounting
  migration/postcopy: Optimize blocktime fault tracking with hashtable
  migration/postcopy: blocktime allows track / report non-vCPU faults
  migration/postcopy: Add latency distribution report for blocktime

 docs/devel/migration/main.rst         |   4 +-
 docs/devel/migration/postcopy.rst     |  36 +-
 docs/devel/migration/vfio.rst         |  16 +-
 hw/ppc/spapr.c                        |   2 +-
 hw/s390x/s390-stattrib.c              |   2 +-
 hw/vfio/migration-multifd.c           |   4 +-
 hw/vfio/migration-multifd.h           |   2 +-
 hw/vfio/migration.c                   |   4 +-
 include/migration/misc.h              |   8 +-
 include/migration/register.h          |  36 +-
 include/qemu/typedefs.h               |   6 +-
 migration/block-dirty-bitmap.c        |   3 +-
 migration/migration-hmp-cmds.c        | 159 ++++++--
 migration/migration.c                 |  87 ++--
 migration/migration.h                 |   2 +-
 migration/multifd-device-state.c      |  10 +-
 migration/options.c                   |   2 +
 migration/postcopy-ram.c              | 563 ++++++++++++++++++++------
 migration/postcopy-ram.h              |   2 +
 migration/ram.c                       |  32 +-
 migration/savevm.c                    |  89 ++--
 migration/trace-events                |   9 +-
 qapi/migration.json                   |  38 ++
 tests/qtest/migration/migration-qmp.c |   5 +
 24 files changed, 799 insertions(+), 322 deletions(-)

-- 
2.35.3
Re: [PULL 00/26] Migration patches for 2025-07-11
Posted by Stefan Hajnoczi 5 months ago
Applied, thanks.

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