From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40080) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dVzE8-0002IG-Dh for qemu-devel@nongnu.org; Fri, 14 Jul 2017 07:57:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dVzE5-0003au-D9 for qemu-devel@nongnu.org; Fri, 14 Jul 2017 07:57:44 -0400 Received: from mx1.redhat.com ([209.132.183.28]:53218) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dVzE5-0003ab-7P for qemu-devel@nongnu.org; Fri, 14 Jul 2017 07:57:41 -0400 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 2043773B3A for ; Fri, 14 Jul 2017 11:57:40 +0000 (UTC) From: "Dr. David Alan Gilbert (git)" Date: Fri, 14 Jul 2017 12:57:31 +0100 Message-Id: <20170714115736.13693-1-dgilbert@redhat.com> Subject: [Qemu-devel] [PATCH v3 0/5] A bunch of RDMA fixes List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: quintela@redhat.com, lvivier@redhat.com, peterx@redhat.com From: "Dr. David Alan Gilbert" This is a bunch of RDMA fixes, the first is a race I spotted a while ago that you don't hit during normal operation; the rest are to do with migration failure and cancellation that I started looking at because of lp1545052 which is a failure to recover on the source if the destination fails. I'm pretty sure there are other cases where the source might hang waiting for a failed destination; particularly if the destination hangs rather than fails completely; one I know of is waiting for the event after the rdma_disconnect but I don't have a good fix for it. Suggestions welcome. v3 Cleaned up some error handling in qemu_rdma_wait_comp_channel Dr. David Alan Gilbert (5): migration/rdma: Fix race on source migration: Close file on failed migration load migration/rdma: Allow cancelling while waiting for wrid migration/rdma: Safely convert control types migration/rdma: Send error during cancelling migration/migration.c | 1 + migration/rdma.c | 129 ++++++++++++++++++++++++++++++++++++-------------- 2 files changed, 95 insertions(+), 35 deletions(-) -- 2.13.0