migration: modify migration_channels_and_uri_compatible() for new QAPI syntax
commitd95533e1cdcc06c383b5ca113bfde02152cb1ab5
authorHet Gala <het.gala@nutanix.com>
Mon, 23 Oct 2023 18:20:50 +0000 (23 15:20 -0300)
committerJuan Quintela <quintela@redhat.com>
Thu, 2 Nov 2023 10:35:04 +0000 (2 11:35 +0100)
tree6a01daf71116c36946c2865b0781e2335bb0d4f3
parent074dbce5fcce597e61ff6c44d2977458f0ba2f29
migration: modify migration_channels_and_uri_compatible() for new QAPI syntax

migration_channels_and_uri_compatible() check for transport mechanism
suitable for multifd migration gets executed when the caller calls old
uri syntax. It needs it to be run when using the modern MigrateChannel
QAPI syntax too.

After URI -> 'MigrateChannel' :
migration_channels_and_uri_compatible() ->
migration_channels_and_transport_compatible() passes object as argument
and check for valid transport mechanism.

Suggested-by: Aravind Retnakaran <aravind.retnakaran@nutanix.com>
Signed-off-by: Het Gala <het.gala@nutanix.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Fabiano Rosas <farosas@suse.de>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
Message-ID: <20231023182053.8711-12-farosas@suse.de>
migration/migration.c