diff options
| author | Dr. David Alan Gilbert | 2017-07-17 13:09:31 +0200 |
|---|---|---|
| committer | Juan Quintela | 2017-07-18 17:36:14 +0200 |
| commit | 9cf2bab2edca1e651eef49f2417f8f67bdfe49bb (patch) | |
| tree | 153ad2a5799d8a44edd3f51f5e6651a71ad6d451 /migration/savevm.c | |
| parent | Merge remote-tracking branch 'remotes/mdroth/tags/qga-pull-2017-07-17-v2-tag'... (diff) | |
| download | qemu-9cf2bab2edca1e651eef49f2417f8f67bdfe49bb.tar.gz qemu-9cf2bab2edca1e651eef49f2417f8f67bdfe49bb.tar.xz qemu-9cf2bab2edca1e651eef49f2417f8f67bdfe49bb.zip | |
migration/rdma: Fix race on source
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 calls
qemu_alloc_qp.
This corresponds to:
https://bugzilla.redhat.com/show_bug.cgi?id=1285044
The race can be triggered by adding a few ms wait before this
post_recv_control (which was originally due to me turning on loads of
debug).
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Message-Id: <20170717110936.23314-2-dgilbert@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'migration/savevm.c')
0 files changed, 0 insertions, 0 deletions
