summary refs log tree commit diff stats
path: root/migration/rdma.c
diff options
context:
space:
mode:
authorFabiano Rosas <farosas@suse.de>2025-02-13 14:59:21 -0300
committerFabiano Rosas <farosas@suse.de>2025-02-14 15:19:05 -0300
commit4bbadfc55e6ec608df75911b4360e6e995daa28c (patch)
treea5520544e5211cca469a8d7175c92c83d518ea50 /migration/rdma.c
parent8444d0938112b7da8d88cc6a7481b9eb33654997 (diff)
downloadfocaccia-qemu-4bbadfc55e6ec608df75911b4360e6e995daa28c.tar.gz
focaccia-qemu-4bbadfc55e6ec608df75911b4360e6e995daa28c.zip
migration: Change migrate_fd_ to migration_
Remove all instances of _fd_ from the migration generic code. These
functions have grown over time and the _fd_ part is now just
confusing.

migration_fd_error() -> migration_error() makes it a little
vague. Since it's only used for migration_connect() failures, change
it to migration_connect_set_error().

Reviewed-by: Peter Xu <peterx@redhat.com>
Message-ID: <20250213175927.19642-4-farosas@suse.de>
Signed-off-by: Fabiano Rosas <farosas@suse.de>
Diffstat (limited to 'migration/rdma.c')
-rw-r--r--migration/rdma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/migration/rdma.c b/migration/rdma.c
index 855753c671..76fb034923 100644
--- a/migration/rdma.c
+++ b/migration/rdma.c
@@ -4174,7 +4174,7 @@ void rdma_start_outgoing_migration(void *opaque,
 
     s->to_dst_file = rdma_new_output(rdma);
     s->rdma_migration = true;
-    migrate_fd_connect(s, NULL);
+    migration_connect(s, NULL);
     return;
 return_path_err:
     qemu_rdma_cleanup(rdma);