[PULL 00/34] Migration staging patches

peterx@redhat.com posted 34 patches 9 months, 3 weeks ago
Failed in applying to current master (apply log)
Maintainers: "Alex Bennée" <alex.bennee@linaro.org>, "Philippe Mathieu-Daudé" <philmd@linaro.org>, Thomas Huth <thuth@redhat.com>, Wainer dos Santos Moschetta <wainersm@redhat.com>, Beraldo Leal <bleal@redhat.com>, Paolo Bonzini <pbonzini@redhat.com>, Peter Xu <peterx@redhat.com>, Fabiano Rosas <farosas@suse.de>, Laurent Vivier <lvivier@redhat.com>
include/sysemu/kvm.h         |   6 +
migration/multifd.h          |  59 +--
accel/kvm/kvm-all.c          |  10 +
accel/stubs/kvm-stub.c       |   5 +
migration/migration.c        |  48 ++-
migration/multifd-zlib.c     |  11 +-
migration/multifd-zstd.c     |  11 +-
migration/multifd.c          | 778 ++++++++++++++++++++---------------
migration/ram.c              |   2 +-
tests/qtest/migration-test.c |   2 +-
.gitlab-ci.d/buildtest.yml   |   9 +-
migration/trace-events       |   2 +-
12 files changed, 547 insertions(+), 396 deletions(-)
[PULL 00/34] Migration staging patches
Posted by peterx@redhat.com 9 months, 3 weeks ago
From: Peter Xu <peterx@redhat.com>

The following changes since commit 39a6e4f87e7b75a45b08d6dc8b8b7c2954c87440:

  Merge tag 'pull-qapi-2024-02-03' of https://repo.or.cz/qemu/armbru into staging (2024-02-03 13:31:58 +0000)

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 940bf8ff1ca82aa458c553d9aa9dd7671ed15a4d:

  ci: Update comment for migration-compat-aarch64 (2024-02-07 10:51:27 +0800)

----------------------------------------------------------------
Migration pull

- William's fix on hwpoison migration which used to crash QEMU
- Peter's multifd cleanup + bugfix + optimizations
- Avihai's fix on multifd crash over non-socket channels
- Fabiano's multifd thread-race fix
- Peter's CI fix series

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

Avihai Horon (1):
  migration: Fix logic of channels and transport compatibility check

Fabiano Rosas (6):
  migration/multifd: Join the TLS thread
  migration/multifd: Remove p->running
  migration/multifd: Move multifd_send_setup error handling in to the
    function
  migration/multifd: Move multifd_send_setup into migration thread
  migration/multifd: Unify multifd and TLS connection paths
  migration/multifd: Add a synchronization point for channel creation

Peter Xu (26):
  migration/multifd: Drop stale comment for multifd zero copy
  migration/multifd: multifd_send_kick_main()
  migration/multifd: Drop MultiFDSendParams.quit, cleanup error paths
  migration/multifd: Postpone reset of MultiFDPages_t
  migration/multifd: Drop MultiFDSendParams.normal[] array
  migration/multifd: Separate SYNC request with normal jobs
  migration/multifd: Simplify locking in sender thread
  migration/multifd: Drop pages->num check in sender thread
  migration/multifd: Rename p->num_packets and clean it up
  migration/multifd: Move total_normal_pages accounting
  migration/multifd: Move trace_multifd_send|recv()
  migration/multifd: multifd_send_prepare_header()
  migration/multifd: Move header prepare/fill into send_prepare()
  migration/multifd: Forbid spurious wakeups
  migration/multifd: Split multifd_send_terminate_threads()
  migration/multifd: Change retval of multifd_queue_page()
  migration/multifd: Change retval of multifd_send_pages()
  migration/multifd: Rewrite multifd_queue_page()
  migration/multifd: Cleanup multifd_save_cleanup()
  migration/multifd: Cleanup multifd_load_cleanup()
  migration/multifd: Stick with send/recv on function names
  migration/multifd: Fix MultiFDSendParams.packet_num race
  migration/multifd: Optimize sender side to be lockless
  tests/migration-test: Stick with gicv3 in aarch64 test
  ci: Remove tag dependency for build-previous-qemu
  ci: Update comment for migration-compat-aarch64

William Roche (1):
  migration: prevent migration when VM has poisoned memory

 include/sysemu/kvm.h         |   6 +
 migration/multifd.h          |  59 +--
 accel/kvm/kvm-all.c          |  10 +
 accel/stubs/kvm-stub.c       |   5 +
 migration/migration.c        |  48 ++-
 migration/multifd-zlib.c     |  11 +-
 migration/multifd-zstd.c     |  11 +-
 migration/multifd.c          | 778 ++++++++++++++++++++---------------
 migration/ram.c              |   2 +-
 tests/qtest/migration-test.c |   2 +-
 .gitlab-ci.d/buildtest.yml   |   9 +-
 migration/trace-events       |   2 +-
 12 files changed, 547 insertions(+), 396 deletions(-)

-- 
2.43.0
Re: [PULL 00/34] Migration staging patches
Posted by Peter Maydell 9 months, 2 weeks ago
On Thu, 8 Feb 2024 at 03:05, <peterx@redhat.com> wrote:
>
> From: Peter Xu <peterx@redhat.com>
>
> The following changes since commit 39a6e4f87e7b75a45b08d6dc8b8b7c2954c87440:
>
>   Merge tag 'pull-qapi-2024-02-03' of https://repo.or.cz/qemu/armbru into staging (2024-02-03 13:31:58 +0000)
>
> 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 940bf8ff1ca82aa458c553d9aa9dd7671ed15a4d:
>
>   ci: Update comment for migration-compat-aarch64 (2024-02-07 10:51:27 +0800)
>
> ----------------------------------------------------------------
> Migration pull
>
> - William's fix on hwpoison migration which used to crash QEMU
> - Peter's multifd cleanup + bugfix + optimizations
> - Avihai's fix on multifd crash over non-socket channels
> - Fabiano's multifd thread-race fix
> - Peter's CI fix series
>
> ----------------------------------------------------------------


Applied, thanks.

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

-- PMM