Re: [PATCH 14/21] migration: Cleanup hmp_info_migrate_parameters

2025-06-06 Thread Peter Xu
On Mon, Jun 02, 2025 at 10:38:03PM -0300, Fabiano Rosas wrote: > Do a cleanup of hmp_info_migrate_parameters() before adding more lines > into it: > > - Make sure every parameter asserts that the has_* field is > set. qmp_query_migrate_parameters should have set them all. > > - Remove the if (p

[PATCH 14/21] migration: Cleanup hmp_info_migrate_parameters

2025-06-02 Thread Fabiano Rosas
Do a cleanup of hmp_info_migrate_parameters() before adding more lines into it: - Make sure every parameter asserts that the has_* field is set. qmp_query_migrate_parameters should have set them all. - Remove the if (params), qmp_query_migrate_parameters never returns NULL. - Add a macro to