|
|
9ae3a8 |
From 4eebbdd32a06ffc62947151257883db34294b598 Mon Sep 17 00:00:00 2001
|
|
|
9ae3a8 |
Message-Id: <4eebbdd32a06ffc62947151257883db34294b598.1387382496.git.minovotn@redhat.com>
|
|
|
9ae3a8 |
In-Reply-To: <c5386144fbf09f628148101bc674e2421cdd16e3.1387382496.git.minovotn@redhat.com>
|
|
|
9ae3a8 |
References: <c5386144fbf09f628148101bc674e2421cdd16e3.1387382496.git.minovotn@redhat.com>
|
|
|
9ae3a8 |
From: Nigel Croxon <ncroxon@redhat.com>
|
|
|
9ae3a8 |
Date: Thu, 14 Nov 2013 22:53:01 +0100
|
|
|
9ae3a8 |
Subject: [PATCH 25/46] rdma: use DRMA_WRID_READY
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
RH-Author: Nigel Croxon <ncroxon@redhat.com>
|
|
|
9ae3a8 |
Message-id: <1384469598-13137-26-git-send-email-ncroxon@redhat.com>
|
|
|
9ae3a8 |
Patchwork-id: 55711
|
|
|
9ae3a8 |
O-Subject: [RHEL7.0 PATCH 25/42] rdma: use DRMA_WRID_READY
|
|
|
9ae3a8 |
Bugzilla: 1011720
|
|
|
9ae3a8 |
RH-Acked-by: Orit Wasserman <owasserm@redhat.com>
|
|
|
9ae3a8 |
RH-Acked-by: Amit Shah <amit.shah@redhat.com>
|
|
|
9ae3a8 |
RH-Acked-by: Paolo Bonzini <pbonzini@redhat.com>
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
Bugzilla: 1011720
|
|
|
9ae3a8 |
https://bugzilla.redhat.com/show_bug.cgi?id=1011720
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
>From commit ID:
|
|
|
9ae3a8 |
commit 877726397f7e24d0c8a2b303a852769b5edd155c
|
|
|
9ae3a8 |
Author: Isaku Yamahata <yamahata@private.email.ne.jp>
|
|
|
9ae3a8 |
Date: Sat Aug 3 22:54:53 2013 -0400
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
rdma: use RDMA_WRID_READY
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
Reviewed-by: Michael R. Hines <mrhines@us.ibm.com>
|
|
|
9ae3a8 |
Signed-off-by: Isaku Yamahata <yamahata@private.email.ne.jp>
|
|
|
9ae3a8 |
Signed-off-by: Michael R. Hines <mrhines@us.ibm.com>
|
|
|
9ae3a8 |
Message-id: 1375584894-9917-7-git-send-email-mrhines@linux.vnet.ibm.com
|
|
|
9ae3a8 |
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
|
|
|
9ae3a8 |
---
|
|
|
9ae3a8 |
migration-rdma.c | 4 ++--
|
|
|
9ae3a8 |
1 files changed, 2 insertions(+), 2 deletions(-)
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
Signed-off-by: Michal Novotny <minovotn@redhat.com>
|
|
|
9ae3a8 |
---
|
|
|
9ae3a8 |
migration-rdma.c | 4 ++--
|
|
|
9ae3a8 |
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
diff --git a/migration-rdma.c b/migration-rdma.c
|
|
|
9ae3a8 |
index ea16f0e..6afe98c 100644
|
|
|
9ae3a8 |
--- a/migration-rdma.c
|
|
|
9ae3a8 |
+++ b/migration-rdma.c
|
|
|
9ae3a8 |
@@ -2223,7 +2223,7 @@ static int qemu_rdma_connect(RDMAContext *rdma, Error **errp)
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
rdma_ack_cm_event(cm_event);
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
- ret = qemu_rdma_post_recv_control(rdma, 0);
|
|
|
9ae3a8 |
+ ret = qemu_rdma_post_recv_control(rdma, RDMA_WRID_READY);
|
|
|
9ae3a8 |
if (ret) {
|
|
|
9ae3a8 |
ERROR(errp, "posting second control recv!");
|
|
|
9ae3a8 |
goto err_rdma_source_connect;
|
|
|
9ae3a8 |
@@ -2735,7 +2735,7 @@ static int qemu_rdma_accept(RDMAContext *rdma)
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
rdma_ack_cm_event(cm_event);
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
- ret = qemu_rdma_post_recv_control(rdma, 0);
|
|
|
9ae3a8 |
+ ret = qemu_rdma_post_recv_control(rdma, RDMA_WRID_READY);
|
|
|
9ae3a8 |
if (ret) {
|
|
|
9ae3a8 |
fprintf(stderr, "rdma migration: error posting second control recv!\n");
|
|
|
9ae3a8 |
goto err_rdma_dest_wait;
|
|
|
9ae3a8 |
--
|
|
|
9ae3a8 |
1.7.11.7
|
|
|
9ae3a8 |
|