qemu-devel
[Top][All Lists]
Advanced

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

[PATCH RFC 12/14] migration/rdma: use multifd to migrate VM for NOT rdma


From: Zhimin Feng
Subject: [PATCH RFC 12/14] migration/rdma: use multifd to migrate VM for NOT rdma-pin-all mode
Date: Thu, 13 Feb 2020 17:37:53 +0800

Signed-off-by: Zhimin Feng <address@hidden>
---
 migration/rdma.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/migration/rdma.c b/migration/rdma.c
index 873c17dc03..eb7c2edbe7 100644
--- a/migration/rdma.c
+++ b/migration/rdma.c
@@ -1749,7 +1749,7 @@ static int qemu_rdma_write_one(QEMUFile *f, RDMAContext 
*rdma,
                              };
 
     /* use multifd to send data */
-    if (migrate_use_multifd() && migrate_use_rdma_pin_all()) {
+    if (migrate_use_multifd()) {
         int channel = get_multifd_RDMA_channel();
         int ret = 0;
         MultiFDSendParams *multifd_send_param = NULL;
@@ -1979,7 +1979,7 @@ static int qemu_rdma_write_flush(QEMUFile *f, RDMAContext 
*rdma)
     }
 
     if (ret == 0) {
-        if (migrate_use_multifd() && migrate_use_rdma_pin_all()) {
+        if (migrate_use_multifd()) {
             /* The multifd RDMA threads send data */
             MultiFDSendParams *multifd_send_param = NULL;
             ret = get_multifd_send_param(current_RDMA_index,
-- 
2.19.1





reply via email to

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