[PATCH v15 00/14] migration: Modify 'migrate' and 'migrate-incoming' QAPI commands for migration

Fabiano Rosas posted 14 patches 6 months, 1 week ago
Failed in applying to current master (apply log)
Maintainers: Juan Quintela <quintela@redhat.com>, Peter Xu <peterx@redhat.com>, Fabiano Rosas <farosas@suse.de>, Leonardo Bras <leobras@redhat.com>, Li Zhijian <lizhijian@fujitsu.com>, Eric Blake <eblake@redhat.com>, Markus Armbruster <armbru@redhat.com>, Paolo Bonzini <pbonzini@redhat.com>, Thomas Huth <thuth@redhat.com>, Laurent Vivier <lvivier@redhat.com>
migration/exec.c               |  74 ++++++++----
migration/exec.h               |   8 +-
migration/file.c               |  24 ++--
migration/file.h               |  10 +-
migration/migration-hmp-cmds.c |  27 ++++-
migration/migration.c          | 204 ++++++++++++++++++++++++++-------
migration/migration.h          |   3 +-
migration/rdma.c               |  33 ++----
migration/rdma.h               |   6 +-
migration/socket.c             |  39 ++-----
migration/socket.h             |   7 +-
qapi/migration.json            | 174 +++++++++++++++++++++++++++-
system/vl.c                    |   2 +-
tests/qtest/migration-test.c   |   7 +-
14 files changed, 468 insertions(+), 150 deletions(-)
[PATCH v15 00/14] migration: Modify 'migrate' and 'migrate-incoming' QAPI commands for migration
Posted by Fabiano Rosas 6 months, 1 week ago
changes since v14:

- added spaces around [ and { in migration.json;
- improved argument names and description;

patch 8 needs review.

CI run: https://gitlab.com/farosas/qemu/-/pipelines/1046293281

v14:
https://lore.kernel.org/r/20231019192353.31500-1-farosas@suse.de

Hi,

I had to make this a new version because the file: tests are already
merged and Het's patches break them unless we also convert the file
transport to the new API.

I did the conversion and added separate patches as fixups so we can
review my additions separately.

v13 by Het Gala:
https://lore.kernel.org/r/20231012151052.154106-1-het.gala@nutanix.com

Fabiano Rosas (4):
  fixup! migration: New QAPI type 'MigrateAddress'
  fixup! migration: convert migration 'uri' into 'MigrateAddress'
  migration: Convert the file backend to the new QAPI syntax
  fixup! migration: New migrate and migrate-incoming argument 'channels'

Het Gala (10):
  migration: New QAPI type 'MigrateAddress'
  migration: convert migration 'uri' into 'MigrateAddress'
  migration: convert socket backend to accept MigrateAddress
  migration: convert rdma backend to accept MigrateAddress
  migration: convert exec backend to accept MigrateAddress.
  migration: New migrate and migrate-incoming argument 'channels'
  migration: modify migration_channels_and_uri_compatible() for new QAPI
    syntax
  migration: Implement MigrateChannelList to qmp migration flow.
  migration: Implement MigrateChannelList to hmp migration flow.
  migration: modify test_multifd_tcp_none() to use new QAPI syntax.

 migration/exec.c               |  74 ++++++++----
 migration/exec.h               |   8 +-
 migration/file.c               |  24 ++--
 migration/file.h               |  10 +-
 migration/migration-hmp-cmds.c |  27 ++++-
 migration/migration.c          | 204 ++++++++++++++++++++++++++-------
 migration/migration.h          |   3 +-
 migration/rdma.c               |  33 ++----
 migration/rdma.h               |   6 +-
 migration/socket.c             |  39 ++-----
 migration/socket.h             |   7 +-
 qapi/migration.json            | 174 +++++++++++++++++++++++++++-
 system/vl.c                    |   2 +-
 tests/qtest/migration-test.c   |   7 +-
 14 files changed, 468 insertions(+), 150 deletions(-)

-- 
2.35.3