[PULL 00/26] Migration 20240423 patches

Peter Xu posted 26 patches 1 week, 3 days ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20240423223813.3237060-1-peterx@redhat.com
Maintainers: Stefano Stabellini <sstabellini@kernel.org>, Anthony Perard <anthony.perard@citrix.com>, Paul Durrant <paul@xen.org>, "Michael S. Tsirkin" <mst@redhat.com>, Marcel Apfelbaum <marcel.apfelbaum@gmail.com>, Paolo Bonzini <pbonzini@redhat.com>, Richard Henderson <richard.henderson@linaro.org>, Eduardo Habkost <eduardo@habkost.net>, Nicholas Piggin <npiggin@gmail.com>, Daniel Henrique Barboza <danielhb413@gmail.com>, David Gibson <david@gibson.dropbear.id.au>, Harsh Prateek Bora <harshpb@linux.ibm.com>, Halil Pasic <pasic@linux.ibm.com>, Christian Borntraeger <borntraeger@linux.ibm.com>, Eric Farman <farman@linux.ibm.com>, David Hildenbrand <david@redhat.com>, Ilya Leoshkevich <iii@linux.ibm.com>, Thomas Huth <thuth@redhat.com>, Alex Williamson <alex.williamson@redhat.com>, "Cédric Le Goater" <clg@redhat.com>, Peter Xu <peterx@redhat.com>, "Philippe Mathieu-Daudé" <philmd@linaro.org>, Fabiano Rosas <farosas@suse.de>, Stefan Hajnoczi <stefanha@redhat.com>, Fam Zheng <fam@euphon.net>, Eric Blake <eblake@redhat.com>, Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>, John Snow <jsnow@redhat.com>, Hailiang Zhang <zhanghailiang@xfusion.com>, Hyman Huang <yong.huang@smartx.com>, Laurent Vivier <lvivier@redhat.com>
include/exec/memory.h                 |  10 +-
include/exec/ramblock.h               |   2 +-
include/hw/s390x/storage-attributes.h |   2 +-
include/migration/register.h          |   6 +-
migration/ram.h                       |   1 +
migration/savevm.h                    |   2 +-
tests/qtest/migration-helpers.h       |  10 +-
hw/i386/xen/xen-hvm.c                 |   5 +-
hw/ppc/spapr.c                        |   2 +-
hw/s390x/s390-stattrib-kvm.c          |  12 +-
hw/s390x/s390-stattrib.c              |  15 ++-
hw/vfio/common.c                      |   4 +-
hw/vfio/migration.c                   |  29 +++--
hw/virtio/vhost.c                     |   3 +-
migration/block-dirty-bitmap.c        |  34 ++---
migration/block.c                     |  17 ++-
migration/colo.c                      |  18 +--
migration/dirtyrate.c                 |  13 +-
migration/migration.c                 |  33 ++++-
migration/multifd-zero-page.c         |   4 +-
migration/multifd-zlib.c              |   1 +
migration/multifd-zstd.c              |   1 +
migration/multifd.c                   |   1 +
migration/ram.c                       | 110 +++++++++++-----
migration/savevm.c                    |  57 ++++----
system/memory.c                       |  44 ++++++-
tests/qtest/migration-helpers.c       | 158 +++++++++++++++++++++-
tests/qtest/migration-test.c          | 180 ++++++++++++++------------
28 files changed, 558 insertions(+), 216 deletions(-)
[PULL 00/26] Migration 20240423 patches
Posted by Peter Xu 1 week, 3 days ago
The following changes since commit c25df57ae8f9fe1c72eee2dab37d76d904ac382e:

  Update version for 9.0.0 release (2024-04-23 14:19:21 +0100)

are available in the Git repository at:

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

for you to fetch changes up to 2cc637f1ea08d2a1b19fc5b1a30bc609f948de93:

  migration/colo: Fix bdrv_graph_rdlock_main_loop: Assertion `!qemu_in_coroutine()' failed. (2024-04-23 18:36:01 -0400)

----------------------------------------------------------------
Migration pull for 9.1

- Het's new test cases for "channels"
- Het's fix for a typo for vsock parsing
- Cedric's VFIO error report series
- Cedric's one more patch for dirty-bitmap error reports
- Zhijian's rdma deprecation patch
- Yuan's zeropage optimization to fix double faults on anon mem
- Zhijian's COLO fix on a crash

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

Cédric Le Goater (15):
  s390/stattrib: Add Error** argument to set_migrationmode() handler
  vfio: Always report an error in vfio_save_setup()
  migration: Always report an error in block_save_setup()
  migration: Always report an error in ram_save_setup()
  migration: Add Error** argument to vmstate_save()
  migration: Add Error** argument to qemu_savevm_state_setup()
  migration: Add Error** argument to .save_setup() handler
  migration: Add Error** argument to .load_setup() handler
  memory: Add Error** argument to .log_global_start() handler
  migration: Introduce ram_bitmaps_destroy()
  memory: Add Error** argument to the global_dirty_log routines
  migration: Add Error** argument to ram_state_init()
  migration: Add Error** argument to xbzrle_init()
  migration: Modify ram_init_bitmaps() to report dirty tracking errors
  migration: Add Error** argument to add_bitmaps_to_list()

Het Gala (9):
  tests/qtest/migration: Add 'to' object into migrate_qmp()
  tests/qtest/migration: Replace connect_uri and move
    migrate_get_socket_address inside migrate_qmp
  tests/qtest/migration: Replace migrate_get_connect_uri inplace of
    migrate_get_socket_address
  tests/qtest/migration: Add channels parameter in migrate_qmp_fail
  tests/qtest/migration: Add migrate_set_ports into migrate_qmp to
    update migration port value
  tests/qtest/migration: Add channels parameter in migrate_qmp
  tests/qtest/migration: Add multifd_tcp_plain test using list of
    channels instead of uri
  tests/qtest/migration: Add negative tests to validate migration QAPIs
  tests/qtest/migration: Fix typo for vsock in SocketAddress_to_str

Li Zhijian (1):
  migration/colo: Fix bdrv_graph_rdlock_main_loop: Assertion
    `!qemu_in_coroutine()' failed.

Yuan Liu (1):
  migration/multifd: solve zero page causing multiple page faults

 include/exec/memory.h                 |  10 +-
 include/exec/ramblock.h               |   2 +-
 include/hw/s390x/storage-attributes.h |   2 +-
 include/migration/register.h          |   6 +-
 migration/ram.h                       |   1 +
 migration/savevm.h                    |   2 +-
 tests/qtest/migration-helpers.h       |  10 +-
 hw/i386/xen/xen-hvm.c                 |   5 +-
 hw/ppc/spapr.c                        |   2 +-
 hw/s390x/s390-stattrib-kvm.c          |  12 +-
 hw/s390x/s390-stattrib.c              |  15 ++-
 hw/vfio/common.c                      |   4 +-
 hw/vfio/migration.c                   |  29 +++--
 hw/virtio/vhost.c                     |   3 +-
 migration/block-dirty-bitmap.c        |  34 ++---
 migration/block.c                     |  17 ++-
 migration/colo.c                      |  18 +--
 migration/dirtyrate.c                 |  13 +-
 migration/migration.c                 |  33 ++++-
 migration/multifd-zero-page.c         |   4 +-
 migration/multifd-zlib.c              |   1 +
 migration/multifd-zstd.c              |   1 +
 migration/multifd.c                   |   1 +
 migration/ram.c                       | 110 +++++++++++-----
 migration/savevm.c                    |  57 ++++----
 system/memory.c                       |  44 ++++++-
 tests/qtest/migration-helpers.c       | 158 +++++++++++++++++++++-
 tests/qtest/migration-test.c          | 180 ++++++++++++++------------
 28 files changed, 558 insertions(+), 216 deletions(-)

-- 
2.44.0


Re: [PULL 00/26] Migration 20240423 patches
Posted by Richard Henderson 1 week, 3 days ago
On 4/23/24 15:37, Peter Xu wrote:
> The following changes since commit c25df57ae8f9fe1c72eee2dab37d76d904ac382e:
> 
>    Update version for 9.0.0 release (2024-04-23 14:19:21 +0100)
> 
> are available in the Git repository at:
> 
>    https://gitlab.com/peterx/qemu.git  tags/migration-20240423-pull-request
> 
> for you to fetch changes up to 2cc637f1ea08d2a1b19fc5b1a30bc609f948de93:
> 
>    migration/colo: Fix bdrv_graph_rdlock_main_loop: Assertion `!qemu_in_coroutine()' failed. (2024-04-23 18:36:01 -0400)
> 
> ----------------------------------------------------------------
> Migration pull for 9.1
> 
> - Het's new test cases for "channels"
> - Het's fix for a typo for vsock parsing
> - Cedric's VFIO error report series
> - Cedric's one more patch for dirty-bitmap error reports
> - Zhijian's rdma deprecation patch
> - Yuan's zeropage optimization to fix double faults on anon mem
> - Zhijian's COLO fix on a crash

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


r~