migration: MigrationParameters changes
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest20 patches 16 repliesIn review
- v218 patches 30 repliesSuperseded
- v118 patches 31 repliesSuperseded
Changes in v3 from the cover letter
- Better handling the cpr-exec-command special case by converting the string input to a QList.
- New clone visitor to replace the manual setting of has_* fields. It now happens once at instance_init before s->parameters is even available to the rest of the code.
- Removed MigrationParameter.
- Added some line breaks and spacing to the block-bitmap-mapping output (and lists in general).
- Simplified the completion test by using g_ptr_array.
- Updated the parameters test to call query-migrate since there's no MigrateParameter_lookup to list the parameters names anymore.
- Rebased on master and picked-up the new 'local' parameter.
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/20 | checkpatch: Fix checking of newlines in error messagesscripts/ | +9 | 0 replies | |
| 2/20 | migration/options.c: Don't export migrate_tls_opts_freemigration/ migration/ | +1 | 0 replies | |
| 3/20 | migration: Rename variables in qmp_migrate_set_parametersmigration/ | +12 | 0 replies | |
| 4/20 | migration: Use QAPI_CLONE_MEMBERS in migrate_params_applymigration/ | +14 | 0 replies | |
| 5/20 | migration: Merge parameter structs instead of assigning one by onemigration/ | +65 | 0 replies | |
| 6/20 | migration: Open code migrate_params_applymigration/ | +10 | 0 replies | |
| 7/20 | migration: Stop freeing s->parameters members individuallymigration/ | +18 | 0 replies | |
| 8/20 | migration: Use migrate_params_free during finalizemigration/ migration/ migration/ | +6 | 0 replies | |
| 9/20 | tests/qtest/migration: Add a test for HMPtests/ | +200 | 0 replies | |
| 10/20 | tests/qtest/migration: Add a test for HMP completiontests/ | +216 | 0 replies | |
| 11/20 | migration: HMP: Change bandwidth parameters expected input unitmigration/ tests/ | +5 | 0 replies | |
| 12/20 | migration: Change HMP 'info migrate_parameters' outputmigration/ tests/ tests/ | +74 | 2 replies | |
| 13/20 | migration: Use keyval input visitor in HMP set commandmigration/ tests/ | +26 | 3 replies | |
| 14/20 | migration: Use output visitor in info commandmigration/ migration/ migration/ | +81 | 7 replies | |
| 15/20 | migration: Rewrite migrate_set_parameter_completion using QDictmigration/ | +9 | 1 reply | |
| 16/20 | migration: Add capabilities into MigrationParametersmigration/ migration/ migration/ +1 more | +203 | 0 replies | |
| 17/20 | migration: Remove s->capabilitiesmigration/ migration/ migration/ +3 more | +289 | 0 replies | |
| 18/20 | qapi/migration: Deprecate capabilities commandsdocs/ migration/ qapi/ | +33 | 0 replies | |
| 19/20 | migration: Set the parameters present flag with a clone visitorinclude/ migration/ migration/ +2 more | +41 | 1 reply | |
| 20/20 | qapi: Remove MigrationParameterqapi/ | +0 | 1 reply |
Reviews trailers per patch
16 of 20 patches have a Reviewed-by or Acked-by.
| Patch | Peter Xu | Prasad Pandit | Markus Armbruster | Dr. David Alan Gilbert |
|---|---|---|---|---|
| 1/20 | R-b | |||
| 2/20 | R-b | |||
| 3/20 | R-b | |||
| 4/20 | R-b | R-b | ||
| 5/20 | R-b | |||
| 6/20 | R-b | |||
| 7/20 | R-b | |||
| 8/20 | R-b | |||
| 9/20 | A-b | A-b | ||
| 10/20 | A-b | |||
| 11/20 | R-b | R-b | ||
| 12/20 | ||||
| 13/20 | R-b | |||
| 14/20 | ||||
| 15/20 | ||||
| 16/20 | A-b | A-b | ||
| 17/20 | R-b | |||
| 18/20 | R-b | R-b | ||
| 19/20 | ||||
| 20/20 | R-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 4 reviewers.
Cover letter [PATCH v3 00/20] migration: MigrationParameters changes
since v2:
- Better handling the cpr-exec-command special case by converting the string input to a QList.
- New clone visitor to replace the manual setting of has_* fields. It now happens once at instance_init before s->parameters is even available to the rest of the code.
- Removed MigrationParameter.
- Added some line breaks and spacing to the block-bitmap-mapping output (and lists in general).
- Simplified the completion test by using g_ptr_array.
- Updated the parameters test to call query-migrate since there's no MigrateParameter_lookup to list the parameters names anymore.
- Rebased on master and picked-up the new 'local' parameter.
(apologies if I might have missed some r-bs, my 'b4 trailers' is broken at the moment)
CI run: https://gitlab.com/farosas/qemu/-/pipelines/2848741815
v2:
https://lore.kernel.org/r/[email protected]
v1:
https://lore.kernel.org/r/[email protected]
Fabiano Rosas (20):
checkpatch: Fix checking of newlines in error messages migration/options.c: Don't export migrate_tls_opts_free
migration: Rename variables in qmp_migrate_set_parameters
migration: Use QAPI_CLONE_MEMBERS in migrate_params_apply
migration: Merge parameter structs instead of assigning one by one
migration: Open code migrate_params_apply
migration: Stop freeing s->parameters members individually
migration: Use migrate_params_free during finalize tests/qtest/migration: Add a test for HMP tests/qtest/migration: Add a test for HMP completion
migration: HMP: Change bandwidth parameters expected input unit
migration: Change HMP 'info migrate_parameters' output
migration: Use keyval input visitor in HMP set command
migration: Use output visitor in info command
migration: Rewrite migrate_set_parameter_completion using QDict
migration: Add capabilities into MigrationParameters
migration: Remove s->capabilities
qapi/migration: Deprecate capabilities commands
migration: Set the parameters present flag with a clone visitor
qapi: Remove MigrationParameter
docs/about/deprecated.rst | 13 + include/qapi/clone-visitor.h | 1 + migration/migration-hmp-cmds.c | 445 +++++----------- migration/migration.c | 19 +- migration/migration.h | 2 +- migration/options.c | 789 +++++++++++------------------ migration/options.h | 29 +- migration/savevm.c | 8 +- qapi/migration.json | 168 ++++-- qapi/qapi-clone-visitor.c | 13 + scripts/checkpatch.pl | 11 +- tests/qemu-iotests/300 | 20 +- tests/qtest/migration/misc-tests.c | 560 ++++++++++++++++++++ 13 files changed, 1173 insertions(+), 905 deletions(-)
Signature · 1 line
2.53.0