qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH v2 3/5] migration: do explicit incoming setup for rd


From: Peter Xu
Subject: [Qemu-devel] [PATCH v2 3/5] migration: do explicit incoming setup for rdma
Date: Wed, 27 Jun 2018 18:51:10 +0800

RDMA does not support postcopy recovery, so no need to go into such
logic.  Instead of calling migration_fd_process_incoming(), let's call
the two functions that setup the incoming migration.  There should have
no functional change at all.

Signed-off-by: Peter Xu <address@hidden>
---
 migration/rdma.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/migration/rdma.c b/migration/rdma.c
index 8bd7159059..217cdd7dd8 100644
--- a/migration/rdma.c
+++ b/migration/rdma.c
@@ -3687,7 +3687,8 @@ static void rdma_accept_incoming_migration(void *opaque)
     }
 
     rdma->migration_started_on_destination = 1;
-    migration_fd_process_incoming(f);
+    migration_incoming_setup(f);
+    migration_incoming_process();
 }
 
 void rdma_start_incoming_migration(const char *host_port, Error **errp)
-- 
2.17.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]