[PULL 00/36] Migration patches for 2026-01-23

Fabiano Rosas posted 36 patches 1 day, 12 hours ago
Failed in applying to current master (apply log)
Maintainers: Peter Xu <peterx@redhat.com>, Fabiano Rosas <farosas@suse.de>, Mark Kanda <mark.kanda@oracle.com>, Ben Chaney <bchaney@akamai.com>, Li Zhijian <lizhijian@fujitsu.com>, Eric Blake <eblake@redhat.com>, Markus Armbruster <armbru@redhat.com>, Laurent Vivier <lvivier@redhat.com>, Paolo Bonzini <pbonzini@redhat.com>
docs/about/deprecated.rst              |  33 --
docs/about/removed-features.rst        |  30 ++
include/migration/cpr.h                |   5 +
migration/channel.c                    | 374 ++++++++++++++--
migration/channel.h                    |  27 +-
migration/cpr-exec.c                   |   2 +-
migration/cpr-transfer.c               |  23 +
migration/exec.c                       |  11 +-
migration/exec.h                       |   8 +-
migration/fd.c                         |  26 +-
migration/fd.h                         |   9 +-
migration/file.c                       |  20 +-
migration/file.h                       |   7 +-
migration/meson.build                  |   1 -
migration/migration-hmp-cmds.c         |   2 +-
migration/migration.c                  | 570 ++++++-------------------
migration/migration.h                  |  15 +-
migration/multifd.c                    |  22 +-
migration/multifd.h                    |   2 +-
migration/options.c                    |  10 +-
migration/postcopy-ram.c               |   2 +-
migration/qemu-file.c                  |  41 +-
migration/qemu-file.h                  |   2 +-
migration/rdma.c                       |  46 +-
migration/rdma.h                       |   6 +-
migration/socket.c                     |  30 +-
migration/socket.h                     |   6 +-
migration/threadinfo.c                 |  64 ---
migration/threadinfo.h                 |  25 --
migration/tls.c                        |  33 +-
migration/tls.h                        |   9 +-
migration/trace-events                 |  20 +-
migration/vmstate-types.c              |   5 +-
qapi/migration.json                    |  50 ---
tests/qtest/migration/framework.c      |  25 +-
tests/qtest/migration/framework.h      |   7 +-
tests/qtest/migration/postcopy-tests.c |  12 +-
tests/qtest/migration/precopy-tests.c  |  41 --
tests/qtest/migration/tls-tests.c      |   8 +-
39 files changed, 734 insertions(+), 895 deletions(-)
delete mode 100644 migration/threadinfo.c
delete mode 100644 migration/threadinfo.h
[PULL 00/36] Migration patches for 2026-01-23
Posted by Fabiano Rosas 1 day, 12 hours ago
The following changes since commit 2339d0a1cfac6ecc667e6e062a593865c1541c35:

  Merge tag 'hw-misc-20260120' of https://github.com/philmd/qemu into staging (2026-01-21 07:39:57 +1100)

are available in the Git repository at:

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

for you to fetch changes up to 03a680c9782ecbbdf2a604918326413527d69322:

  migration/channel: Centralize calling migration_channel_connect_outgoing (2026-01-23 11:34:25 -0300)

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

- Removal of deprecated query-migrationthreads command
- Removal of deprecated QMP migrate argument 'detach'
- Removal of deprecated zero-blocks capability
- Removal of deprecated migration to file using fd: URI
- Improvements to fd handling in QEMUFile
- Cleanups to postcopy tests
- Cleanup of migration channel connection code

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

Fabiano Rosas (25):
  migration: Remove redundant state change
  migration: Fix state change at migration_channel_process_incoming
  migration/tls: Remove unused parameter
  migration: Cleanup TLS handshake hostname passing
  migration: Move postcopy_try_recover into migration_incoming_process
  migration: Use migrate_mode() to query for cpr-transfer
  migration: Free the error earlier in the resume case
  migration: Move error reporting out of migration_cleanup
  migration: Expand migration_connect_error_propagate to cover
    cancelling
  migration: yank: Move register instance earlier
  migration: Fold migration_cleanup() into
    migration_connect_error_propagate()
  migration: Handle error in the early async paths
  migration: Move setting of QEMUFile into
    migration_outgoing|incoming_setup
  migration/rdma: Use common connection paths
  migration: Start incoming from channel.c
  migration/channel: Rename migration_channel_connect
  migration: Rename instances of start
  migration: Move channel code to channel.c
  migration: Move transport connection code into channel.c
  migration: Move channel parsing to channel.c
  migration: Move URI parsing to channel.c
  migration: Free cpr-transfer MigrationAddress along with gsource
  migration: Move CPR HUP watch to cpr-transfer.c
  migration: Remove qmp_migrate_finish
  migration/channel: Centralize calling
    migration_channel_connect_outgoing

Markus Armbruster (2):
  migration: Drop deprecated QMP command query-migrationthreads
  migration: Drop deprecated QMP migrate argument @detach

Peter Xu (4):
  tests/migration-test: Remove postcopy_data from MigrateCommon
  tests/migration-test: Remove postcopy_recovery_fail_stage from
    MigrateCommon
  migration: Remove zero-blocks capability
  migration: Remove fd: support on files

Vladimir Sementsov-Ogievskiy (5):
  vmstate-types: get_fd(): handle qemu_file_get_fd() failure
  qemu-file: qemu_file_get_fd(): fail if no expected fd come
  qemu-file: qemu_file_get_fd(): get byte in one shot
  qemu-file: qemu_file_get_fd(): check service byte itself
  qemu-file: qemu_file_get_fd(): improve interface

 docs/about/deprecated.rst              |  33 --
 docs/about/removed-features.rst        |  30 ++
 include/migration/cpr.h                |   5 +
 migration/channel.c                    | 374 ++++++++++++++--
 migration/channel.h                    |  27 +-
 migration/cpr-exec.c                   |   2 +-
 migration/cpr-transfer.c               |  23 +
 migration/exec.c                       |  11 +-
 migration/exec.h                       |   8 +-
 migration/fd.c                         |  26 +-
 migration/fd.h                         |   9 +-
 migration/file.c                       |  20 +-
 migration/file.h                       |   7 +-
 migration/meson.build                  |   1 -
 migration/migration-hmp-cmds.c         |   2 +-
 migration/migration.c                  | 570 ++++++-------------------
 migration/migration.h                  |  15 +-
 migration/multifd.c                    |  22 +-
 migration/multifd.h                    |   2 +-
 migration/options.c                    |  10 +-
 migration/postcopy-ram.c               |   2 +-
 migration/qemu-file.c                  |  41 +-
 migration/qemu-file.h                  |   2 +-
 migration/rdma.c                       |  46 +-
 migration/rdma.h                       |   6 +-
 migration/socket.c                     |  30 +-
 migration/socket.h                     |   6 +-
 migration/threadinfo.c                 |  64 ---
 migration/threadinfo.h                 |  25 --
 migration/tls.c                        |  33 +-
 migration/tls.h                        |   9 +-
 migration/trace-events                 |  20 +-
 migration/vmstate-types.c              |   5 +-
 qapi/migration.json                    |  50 ---
 tests/qtest/migration/framework.c      |  25 +-
 tests/qtest/migration/framework.h      |   7 +-
 tests/qtest/migration/postcopy-tests.c |  12 +-
 tests/qtest/migration/precopy-tests.c  |  41 --
 tests/qtest/migration/tls-tests.c      |   8 +-
 39 files changed, 734 insertions(+), 895 deletions(-)
 delete mode 100644 migration/threadinfo.c
 delete mode 100644 migration/threadinfo.h

-- 
2.51.0
Re: [PULL 00/36] Migration patches for 2026-01-23
Posted by Richard Henderson 21 hours ago
On 1/24/26 06:53, Fabiano Rosas wrote:
> The following changes since commit 2339d0a1cfac6ecc667e6e062a593865c1541c35:
> 
>    Merge tag 'hw-misc-20260120' ofhttps://github.com/philmd/qemu into staging (2026-01-21 07:39:57 +1100)
> 
> are available in the Git repository at:
> 
>    https://gitlab.com/farosas/qemu.git tags/migration-20260123-pull-request
> 
> for you to fetch changes up to 03a680c9782ecbbdf2a604918326413527d69322:
> 
>    migration/channel: Centralize calling migration_channel_connect_outgoing (2026-01-23 11:34:25 -0300)
> 
> ----------------------------------------------------------------
> Migration pull request
> 
> - Removal of deprecated query-migrationthreads command
> - Removal of deprecated QMP migrate argument 'detach'
> - Removal of deprecated zero-blocks capability
> - Removal of deprecated migration to file using fd: URI
> - Improvements to fd handling in QEMUFile
> - Cleanups to postcopy tests
> - Cleanup of migration channel connection code

Applied, thanks.  Please update https://wiki.qemu.org/ChangeLog/11.0 as appropriate.

r~