Re: [Qemu-devel] [PATCH 1/5] migration/rdma: Fix race on source

2017-07-11 Thread Peter Xu
On Tue, Jul 04, 2017 at 07:49:11PM +0100, Dr. David Alan Gilbert (git) wrote: > From: "Dr. David Alan Gilbert" > > Fix a race where the destination might try and send the source a > WRID_READY before the source has done a post-recv for it. > > rdma_post_recv has to happen

[Qemu-devel] [PATCH 1/5] migration/rdma: Fix race on source

2017-07-04 Thread Dr. David Alan Gilbert (git)
From: "Dr. David Alan Gilbert" Fix a race where the destination might try and send the source a WRID_READY before the source has done a post-recv for it. rdma_post_recv has to happen after the qp exists, and we're OK since we've already called qemu_rdma_source_init that