diff options
author | Dr. David Alan Gilbert <dgilbert@redhat.com> | 2017-07-17 12:09:34 +0100 |
---|---|---|
committer | Juan Quintela <quintela@redhat.com> | 2017-07-18 17:36:17 +0200 |
commit | 9c98cfbe72b21d9d84b9ea8d231bde103b9fb7ae (patch) | |
tree | d8bd7049b08e2de3267d674e3c27a4fa682cd503 /migration/ram.h | |
parent | 0b3c15f09715acd78063e720444cc86ac357bab4 (diff) |
migration/rdma: Allow cancelling while waiting for wrid
When waiting for a WRID, if the other side dies we end up waiting
for ever with no way to cancel the migration.
Cure this by poll()ing the fd first with a timeout and checking
error flags and migration state.
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Message-Id: <20170717110936.23314-5-dgilbert@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'migration/ram.h')
0 files changed, 0 insertions, 0 deletions