[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 5/6] rdma: Fix block during rdma migration
From: |
Juan Quintela |
Subject: |
[Qemu-devel] [PATCH 5/6] rdma: Fix block during rdma migration |
Date: |
Mon, 16 Jun 2014 05:15:38 +0200 |
From: Gonglei <address@hidden>
If the networking break or there's something wrong with rdma
device(ib0 with no IP) during rdma migration, the main_loop of
qemu will be blocked in rdma_destroy_id. I add rdma_ack_cm_event
to fix this bug.
Signed-off-by: Mo Yuxiang <address@hidden>
Signed-off-by: Gonglei <address@hidden>
Reviewed-by: Michael R. Hines <address@hidden>
Signed-off-by: Juan Quintela <address@hidden>
---
migration-rdma.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/migration-rdma.c b/migration-rdma.c
index eeb4302..f60749b 100644
--- a/migration-rdma.c
+++ b/migration-rdma.c
@@ -949,6 +949,7 @@ route:
ERROR(errp, "result not equal to event_addr_resolved %s",
rdma_event_str(cm_event->event));
perror("rdma_resolve_addr");
+ rdma_ack_cm_event(cm_event);
ret = -EINVAL;
goto err_resolve_get_addr;
}
--
1.9.3
- [Qemu-devel] [PULL 0/6] migration queue, Juan Quintela, 2014/06/15
- [Qemu-devel] [PATCH 1/6] savevm: Remove all the unneeded version_minimum_id_old (ppc), Juan Quintela, 2014/06/15
- [Qemu-devel] [PATCH 2/6] savevm: Remove all the unneeded version_minimum_id_old (x86), Juan Quintela, 2014/06/15
- [Qemu-devel] [PATCH 4/6] migration: Increase default max_downtime from 30ms to 300ms, Juan Quintela, 2014/06/15
- [Qemu-devel] [PATCH 3/6] vmstate: Refactor opening of files, Juan Quintela, 2014/06/15
- [Qemu-devel] [PATCH 6/6] migration: catch unknown flags in ram_load, Juan Quintela, 2014/06/15
- [Qemu-devel] [PATCH 5/6] rdma: Fix block during rdma migration,
Juan Quintela <=
- Re: [Qemu-devel] [PULL 0/6] migration queue, Peter Maydell, 2014/06/16