summary refs log tree commit diff stats
path: root/migration/ram.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/ram.c
parentb890902c9c025b87d02e718eec3090fd3525ab18 (diff)
downloadfocaccia-qemu-51b07548f7c31793adc178c7460c5f4369733c61.tar.gz
focaccia-qemu-51b07548f7c31793adc178c7460c5f4369733c61.zip
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/ram.c')
-rw-r--r--migration/ram.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/migration/ram.c b/migration/ram.c
index ee454a3849..859dd7b63f 100644
--- a/migration/ram.c
+++ b/migration/ram.c
@@ -2362,7 +2362,7 @@ static int ram_save_target_page_legacy(RAMState *rs, PageSearchStatus *pss)
      * if host page size == guest page size the dest guest during run may
      * still see partially copied pages which is data corruption.
      */
-    if (migrate_use_multifd() && !migration_in_postcopy()) {
+    if (migrate_multifd() && !migration_in_postcopy()) {
         return ram_save_multifd_page(pss->pss_channel, block, offset);
     }