On Mon, Jun 02, 2025 at 10:38:04PM -0300, Fabiano Rosas wrote: > Add capabilities to MigrationParameters. This structure will hold all > migration options. Capabilities will go away in the next patch. > > Also add capabilities to MigrationParameter as the enum needs to be > kept in sync with MigrationParameters. This affects the parsing of > migration HMP commands so make the necessary additions there too. > > From this point on, both QMP and HMP versions of > migrate-set-parameters and query-migrate-parameters gain the ability > to work with capabilities. > > With MigrationParameters now having members for each capability, the > migration capabilities commands (query-migrate-capabilities, > migrate-set-capabilities) will soon be deprecated. Add a set of > helpers to convert between the old MigrationCapability representation > and the new representation as members of MigrationParameters. > > Signed-off-by: Fabiano Rosas <faro...@suse.de>
Acked-by: Peter Xu <pet...@redhat.com> -- Peter Xu