diff options
author | Juan Quintela <quintela@redhat.com> | 2023-03-01 22:10:29 +0100 |
---|---|---|
committer | Juan Quintela <quintela@redhat.com> | 2023-04-24 15:01:46 +0200 |
commit | 51b07548f7c31793adc178c7460c5f4369733c61 (patch) | |
tree | a8f6ddb879ade6d3d7b249e65d7372eeda54e29c /migration/socket.c | |
parent | b890902c9c025b87d02e718eec3090fd3525ab18 (diff) |
migration: Move migrate_use_multifd() to options.c
Once that we are there, we rename the function to migrate_multifd()
to be consistent with all other capabilities.
Signed-off-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
Diffstat (limited to 'migration/socket.c')
-rw-r--r-- | migration/socket.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/migration/socket.c b/migration/socket.c index ebf9ac41af..f4835a256a 100644 --- a/migration/socket.c +++ b/migration/socket.c @@ -183,7 +183,7 @@ socket_start_incoming_migration_internal(SocketAddress *saddr, qio_net_listener_set_name(listener, "migration-socket-listener"); - if (migrate_use_multifd()) { + if (migrate_multifd()) { num = migrate_multifd_channels(); } else if (migrate_postcopy_preempt()) { num = RAM_CHANNEL_MAX; |