qemu-e2k/migration
Dr. David Alan Gilbert 9cf2bab2ed 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>
2017-07-18 17:36:14 +02:00
..
block.c migration: Rename cleanup() to save_cleanup() 2017-07-10 17:52:21 +01:00
block.h
channel.c migration: Move migration.h to migration/ 2017-06-13 11:00:45 +02:00
channel.h
colo-comm.c migration: Move migration.h to migration/ 2017-06-13 11:00:45 +02:00
colo-failover.c migration: Remove unneeded includes 2017-06-14 11:10:19 +02:00
colo.c migration: Rename save_live_setup() to save_setup() 2017-07-10 17:52:21 +01:00
exec.c migration: Remove unneeded includes 2017-06-14 11:10:19 +02:00
exec.h
fd.c migration: Remove unneeded includes 2017-06-14 11:10:19 +02:00
fd.h
global_state.c migration: move global_state.optional out 2017-06-28 11:18:38 +02:00
Makefile.objs
migration.c migration: Make compression_threads use save/load_setup/cleanup() 2017-07-10 17:52:21 +01:00
migration.h migration: add "return-path" capability 2017-06-28 11:51:10 +02:00
page_cache.c
page_cache.h
postcopy-ram.c migration: Remove unneeded includes 2017-06-14 11:10:19 +02:00
postcopy-ram.h
qemu-file-channel.c
qemu-file-channel.h
qemu-file.c migration: Remove unneeded includes 2017-06-14 11:10:19 +02:00
qemu-file.h
qjson.c
qjson.h
ram.c migration: Make compression_threads use save/load_setup/cleanup() 2017-07-10 17:52:21 +01:00
ram.h migration: Make compression_threads use save/load_setup/cleanup() 2017-07-10 17:52:21 +01:00
rdma.c migration/rdma: Fix race on source 2017-07-18 17:36:14 +02:00
rdma.h
savevm.c migration: Create load_setup()/cleanup() methods 2017-07-10 17:52:21 +01:00
savevm.h migration: Create load_setup()/cleanup() methods 2017-07-10 17:52:21 +01:00
socket.c migration: Move migration.h to migration/ 2017-06-13 11:00:45 +02:00
socket.h
tls.c migration: Move migration.h to migration/ 2017-06-13 11:00:45 +02:00
tls.h
trace-events migration: Create load_setup()/cleanup() methods 2017-07-10 17:52:21 +01:00
vmstate-types.c vmstate: error hint for failed equal checks 2017-06-28 11:18:44 +02:00
vmstate.c migration: Move migration.h to migration/ 2017-06-13 11:00:45 +02:00
xbzrle.c
xbzrle.h