aboutsummaryrefslogtreecommitdiff
path: root/migration/socket.c
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2023-03-01 22:10:29 +0100
committerJuan Quintela <quintela@redhat.com>2023-04-24 15:01:46 +0200
commit51b07548f7c31793adc178c7460c5f4369733c61 (patch)
treea8f6ddb879ade6d3d7b249e65d7372eeda54e29c /migration/socket.c
parentb890902c9c025b87d02e718eec3090fd3525ab18 (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.c2
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;