[PULL 00/32] Migration patches for 2026-02-17

Fabiano Rosas posted 32 patches 1 month, 3 weeks ago
Failed in applying to current master (apply log)
Maintainers: Peter Maydell <peter.maydell@linaro.org>, "Michael S. Tsirkin" <mst@redhat.com>, Jason Wang <jasowang@redhat.com>, Paolo Bonzini <pbonzini@redhat.com>, Fam Zheng <fam@euphon.net>, Peter Xu <peterx@redhat.com>, Fabiano Rosas <farosas@suse.de>, Mark Kanda <mark.kanda@oracle.com>, Ben Chaney <bchaney@akamai.com>, Alex Williamson <alex@shazbot.org>, "Cédric Le Goater" <clg@redhat.com>, Hailiang Zhang <zhanghailiang@xfusion.com>, Markus Armbruster <armbru@redhat.com>, Stefano Garzarella <sgarzare@redhat.com>, Laurent Vivier <lvivier@redhat.com>, "Marc-André Lureau" <marcandre.lureau@redhat.com>
hw/intc/arm_gicv3_kvm.c           |   2 +-
hw/net/virtio-net.c               |   4 +-
hw/scsi/scsi-disk.c               |   4 +-
hw/vfio/cpr-legacy.c              |   2 +-
hw/vfio/cpr.c                     |   8 +-
hw/vfio/migration.c               |   4 +-
include/migration/misc.h          |  20 +-
migration/colo.c                  |  16 +-
migration/cpr-exec.c              |   6 +-
migration/cpr.c                   |   2 +-
migration/migration.c             |  86 ++++----
migration/savevm.c                | 320 ++++++++++++++++--------------
migration/savevm.h                |  18 +-
migration/trace-events            |   1 +
monitor/qmp-cmds.c                |   3 +
net/vhost-vdpa.c                  |   4 +-
tests/qtest/migration/tls-tests.c |   8 +-
ui/spice-core.c                   |   7 +-
18 files changed, 280 insertions(+), 235 deletions(-)
[PULL 00/32] Migration patches for 2026-02-17
Posted by Fabiano Rosas 1 month, 3 weeks ago
The following changes since commit ece408818d27f745ef1b05fb3cc99a1e7a5bf580:

  Merge tag 'for-upstream' of https://gitlab.com/bonzini/qemu into staging (2026-02-13 10:30:08 +0000)

are available in the Git repository at:

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

for you to fetch changes up to fd5ecd187bc245013399d14cc225f05c0ad1a96c:

  tests/qtest/migration/tls-tests.c: Don't use tls_psk end hook for no_tls tests (2026-02-17 10:06:03 -0300)

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

- Notifier changes: Remove duplicated events during postcopy. Emit
  MIG_EVENT_FAILED before the VM is started.

- Undefined behavior fix for tls-tests.

- Cleanups: COLO, savevm handlers, CPR/VFIOheaders.

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

Cédric Le Goater (1):
  migration/cpr: Include vfio-cpr.h instead of vfio-device.h

Fabiano Rosas (1):
  migration: Update comments mentioning qmp_migrate_finish

Peter Maydell (1):
  tests/qtest/migration/tls-tests.c: Don't use tls_psk end hook for
    no_tls tests

Peter Xu (29):
  migration: Add a tracepoint for invoking migration notifiers
  migration: Fix double notification of DONE/FAIL for postcopy
  migration: Notify migration FAILED before starting VM
  migration: Drop explicit block activation in postcopy fail path
  migration: Rename MIG_EVENT_PRECOPY_* to MIG_EVENT_*
  migration: Introduce qemu_savevm_send_* helpers
  migration: Use qemu_savevm_send_header() in qemu_save_device_state()
  migration: Remove one migration_in_colo_state() occurance
  migration/savevm: Remove SaveStateEntry.is_ram
  migration/colo: Unwrap qemu_savevm_live_state()
  migration: Remove call to send switchover start event in colo/savevm
  colo: Forbid VM resume during checkpointing
  migration/colo: Use the RAM iterable helper directly
  migration/colo: Document qemu_fflush(fb)
  migration: Drop iterable_only in qemu_savevm_state_complete_precopy
  migration: Drop qemu_file_set_error() when save non-iterable fails
  migration/colo: Send device states without copying buffer
  migration/postcopy: Send device states without copying buffer
  migration: Introduce qemu_savevm_state_end()
  migration: Provide helper for save vm description
  migration: Split qemu_savevm_state_complete_precopy_non_iterable()
  migration: qemu_savevm_state_complete_precopy() take MigrationState*
  migration: Cleanup error propagates in qemu_savevm_state_setup()
  migration: Refactor qemu_savevm_state_setup()
  migration: Introduce qemu_savevm_state_active()
  migration/bg-snapshot: Cleanup error paths
  migration: Make qemu_savevm_state_non_iterable() take errp
  migration: Simplify qemu_save_device_state()
  migration/colo/xen: Use generic helpers in qemu_save_device_state()

 hw/intc/arm_gicv3_kvm.c           |   2 +-
 hw/net/virtio-net.c               |   4 +-
 hw/scsi/scsi-disk.c               |   4 +-
 hw/vfio/cpr-legacy.c              |   2 +-
 hw/vfio/cpr.c                     |   8 +-
 hw/vfio/migration.c               |   4 +-
 include/migration/misc.h          |  20 +-
 migration/colo.c                  |  16 +-
 migration/cpr-exec.c              |   6 +-
 migration/cpr.c                   |   2 +-
 migration/migration.c             |  86 ++++----
 migration/savevm.c                | 320 ++++++++++++++++--------------
 migration/savevm.h                |  18 +-
 migration/trace-events            |   1 +
 monitor/qmp-cmds.c                |   3 +
 net/vhost-vdpa.c                  |   4 +-
 tests/qtest/migration/tls-tests.c |   8 +-
 ui/spice-core.c                   |   7 +-
 18 files changed, 280 insertions(+), 235 deletions(-)

-- 
2.51.0


Re: [PULL 00/32] Migration patches for 2026-02-17
Posted by Peter Maydell 1 month, 3 weeks ago
On Tue, 17 Feb 2026 at 16:16, Fabiano Rosas <farosas@suse.de> wrote:
>
> The following changes since commit ece408818d27f745ef1b05fb3cc99a1e7a5bf580:
>
>   Merge tag 'for-upstream' of https://gitlab.com/bonzini/qemu into staging (2026-02-13 10:30:08 +0000)
>
> are available in the Git repository at:
>
>   https://gitlab.com/farosas/qemu.git tags/migration-20260217-pull-request
>
> for you to fetch changes up to fd5ecd187bc245013399d14cc225f05c0ad1a96c:
>
>   tests/qtest/migration/tls-tests.c: Don't use tls_psk end hook for no_tls tests (2026-02-17 10:06:03 -0300)
>
> ----------------------------------------------------------------
> Migration pull request
>
> - Notifier changes: Remove duplicated events during postcopy. Emit
>   MIG_EVENT_FAILED before the VM is started.
>
> - Undefined behavior fix for tls-tests.
>
> - Cleanups: COLO, savevm handlers, CPR/VFIOheaders.
>



Applied, thanks.

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

-- PMM