]> Git Repo - qemu.git/commit
migration/rdma: Allow cancelling while waiting for wrid
authorDr. David Alan Gilbert <[email protected]>
Mon, 17 Jul 2017 11:09:34 +0000 (12:09 +0100)
committerJuan Quintela <[email protected]>
Tue, 18 Jul 2017 15:36:17 +0000 (17:36 +0200)
commit9c98cfbe72b21d9d84b9ea8d231bde103b9fb7ae
treed8bd7049b08e2de3267d674e3c27a4fa682cd503
parent0b3c15f09715acd78063e720444cc86ac357bab4
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 <[email protected]>
Reviewed-by: Peter Xu <[email protected]>
Message-Id: <20170717110936[email protected]>
Signed-off-by: Juan Quintela <[email protected]>
migration/rdma.c
This page took 0.027888 seconds and 4 git commands to generate.