Skip to content

migration: Modify 'migrate' and 'migrate-incoming' QAPI commands for migration

Fabiano Rosas qemu-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v15 Latest14 patches 21 repliesIn review
  2. v1414 patches 10 repliesSuperseded

Changes in v15 from the cover letter

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

Patches in v15 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/14migration: New QAPI type 'MigrateAddress'qapi/migration.json+41 -00 replies
2/14fixup! migration: New QAPI type 'MigrateAddress'qapi/migration.json+18 -22 replies
3/14migration: convert migration 'uri' into 'MigrateAddress'migration/exec.c migration/exec.h migration/migration.c+60 -11 reply
4/14fixup! migration: convert migration 'uri' into 'MigrateAddress'migration/file.c migration/file.h migration/migration.c+9 -11 reply
5/14migration: convert socket backend to accept MigrateAddressmigration/migration.c migration/socket.c migration/socket.h+31 -451 reply
6/14migration: convert rdma backend to accept MigrateAddressmigration/migration.c migration/rdma.c migration/rdma.h+19 -281 reply
7/14migration: convert exec backend to accept MigrateAddress.migration/exec.c migration/exec.h migration/migration.c+59 -261 reply
8/14migration: Convert the file backend to the new QAPI syntaxmigration/file.c migration/file.h migration/migration.c+17 -241 reply
9/14migration: New migrate and migrate-incoming argument 'channels'migration/migration-hmp-cmds.c migration/migration.c qapi/migration.json +1 more+161 -121 reply
10/14fixup! migration: New migrate and migrate-incoming argument 'channels'qapi/migration.json+8 -02 replies
11/14migration: modify migration_channels_and_uri_compatible() for new QAPI syntaxmigration/migration.c+18 -151 reply
12/14migration: Implement MigrateChannelList to qmp migration flow.migration/migration.c+55 -462 replies
13/14migration: Implement MigrateChannelList to hmp migration flow.migration/migration-hmp-cmds.c migration/migration.c migration/migration.h+26 -96 replies
14/14migration: modify test_multifd_tcp_none() to use new QAPI syntax.tests/qtest/migration-test.c+6 -11 reply

Reviews trailers per patch

13 of 14 patches have a Reviewed-by or Acked-by.

PatchDaniel P. BerrangéJuan QuintelaMarkus Armbruster
1/14R-b R-b A-b
2/14R-b R-b A-b
3/14R-b
4/14R-b R-b
5/14R-b R-b
6/14R-b R-b
7/14R-b
8/14R-b
9/14R-b R-b A-b
10/14R-b R-b A-b
11/14R-b R-b
12/14R-b R-b
13/14
14/14R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v15 thread

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

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/[email protected]

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/[email protected]

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(-)
Signature · 1 line
2.35.3