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(-) -- 2.53.0
