From: Fabiano Rosas <farosas@suse.de>
To: qemu-devel@nongnu.org
Cc: Peter Xu <peterx@redhat.com>,
Markus Armbruster <armbru@redhat.com>,
"Dr . David Alan Gilbert" <dave@treblig.org>
Subject: Re: [PATCH v3 00/20] migration: MigrationParameters changes
Date: Tue, 22 Sep 2026 09:44:38 -0300 [thread overview]
Message-ID: <87y0cta215.fsf@suse.de> (raw)
In-Reply-To: <20260915000209.3692668-1-farosas@suse.de>
Fabiano Rosas <farosas@suse.de> writes:
> 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/20260909214509.237309-1-farosas@suse.de
> v1:
> https://lore.kernel.org/r/20260902221547.1812481-1-farosas@suse.de
>
> 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(-)
I queued patches 2-8 for the next pull request. I'll leave
migration-next to marinate for a day or two. If anyone needs more time
with those patches, let me know and I can drop them no problem.
Thanks
prev parent reply other threads:[~2026-09-22 12:45 UTC|newest]
Thread overview: 37+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-15 0:01 [PATCH v3 00/20] migration: MigrationParameters changes Fabiano Rosas
2026-09-15 0:01 ` [PATCH v3 01/20] checkpatch: Fix checking of newlines in error messages Fabiano Rosas
2026-09-15 0:01 ` [PATCH v3 02/20] migration/options.c: Don't export migrate_tls_opts_free Fabiano Rosas
2026-09-15 0:01 ` [PATCH v3 03/20] migration: Rename variables in qmp_migrate_set_parameters Fabiano Rosas
2026-09-15 0:01 ` [PATCH v3 04/20] migration: Use QAPI_CLONE_MEMBERS in migrate_params_apply Fabiano Rosas
2026-09-15 0:01 ` [PATCH v3 05/20] migration: Merge parameter structs instead of assigning one by one Fabiano Rosas
2026-09-15 0:01 ` [PATCH v3 06/20] migration: Open code migrate_params_apply Fabiano Rosas
2026-09-15 0:01 ` [PATCH v3 07/20] migration: Stop freeing s->parameters members individually Fabiano Rosas
2026-09-15 0:01 ` [PATCH v3 08/20] migration: Use migrate_params_free during finalize Fabiano Rosas
2026-09-15 0:01 ` [PATCH v3 09/20] tests/qtest/migration: Add a test for HMP Fabiano Rosas
2026-09-15 0:01 ` [PATCH v3 10/20] tests/qtest/migration: Add a test for HMP completion Fabiano Rosas
2026-09-15 0:01 ` [PATCH v3 11/20] migration: HMP: Change bandwidth parameters expected input unit Fabiano Rosas
2026-09-15 0:02 ` [PATCH v3 12/20] migration: Change HMP 'info migrate_parameters' output Fabiano Rosas
2026-09-15 11:57 ` Markus Armbruster
2026-09-17 21:08 ` Dr. David Alan Gilbert
2026-09-15 0:02 ` [PATCH v3 13/20] migration: Use keyval input visitor in HMP set command Fabiano Rosas
2026-09-17 11:08 ` Markus Armbruster
2026-09-17 18:28 ` Peter Xu
2026-09-17 18:41 ` Markus Armbruster
2026-09-15 0:02 ` [PATCH v3 14/20] migration: Use output visitor in info command Fabiano Rosas
2026-09-17 11:53 ` Markus Armbruster
2026-09-17 11:58 ` Markus Armbruster
2026-09-17 18:41 ` Peter Xu
2026-09-17 20:57 ` Dr. David Alan Gilbert
2026-09-18 8:20 ` Markus Armbruster
2026-09-18 22:32 ` Fabiano Rosas
2026-09-18 22:41 ` Fabiano Rosas
2026-09-15 0:02 ` [PATCH v3 15/20] migration: Rewrite migrate_set_parameter_completion using QDict Fabiano Rosas
2026-09-17 12:02 ` Markus Armbruster
2026-09-15 0:02 ` [PATCH v3 16/20] migration: Add capabilities into MigrationParameters Fabiano Rosas
2026-09-15 0:02 ` [PATCH v3 17/20] migration: Remove s->capabilities Fabiano Rosas
2026-09-15 0:02 ` [PATCH v3 18/20] qapi/migration: Deprecate capabilities commands Fabiano Rosas
2026-09-15 0:02 ` [PATCH v3 19/20] migration: Set the parameters present flag with a clone visitor Fabiano Rosas
2026-09-17 14:10 ` Markus Armbruster
2026-09-15 0:02 ` [PATCH v3 20/20] qapi: Remove MigrationParameter Fabiano Rosas
2026-09-17 12:06 ` Markus Armbruster
2026-09-22 12:44 ` Fabiano Rosas [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87y0cta215.fsf@suse.de \
--to=farosas@suse.de \
--cc=armbru@redhat.com \
--cc=dave@treblig.org \
--cc=peterx@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.