summaryrefslogtreecommitdiffstats
path: root/include/exec/exec-all.h
diff options
context:
space:
mode:
authorLidong Chen2018-08-06 15:29:33 +0200
committerJuan Quintela2018-08-22 12:14:19 +0200
commitd5882995a16bb44f85b1c7ae3a45d89ef1e1be09 (patch)
treec9ace369e80819812572b6e20341f474a5b06b28 /include/exec/exec-all.h
parentmigration: invoke qio_channel_yield only when qemu_in_coroutine() (diff)
downloadqemu-d5882995a16bb44f85b1c7ae3a45d89ef1e1be09.tar.gz
qemu-d5882995a16bb44f85b1c7ae3a45d89ef1e1be09.tar.xz
qemu-d5882995a16bb44f85b1c7ae3a45d89ef1e1be09.zip
migration: poll the cm event while wait RDMA work request completion
If the peer qemu is crashed, the qemu_rdma_wait_comp_channel function maybe loop forever. so we should also poll the cm event fd, and when receive RDMA_CM_EVENT_DISCONNECTED and RDMA_CM_EVENT_DEVICE_REMOVAL, we consider some error happened. Signed-off-by: Lidong Chen <lidongchen@tencent.com> Signed-off-by: Gal Shachaf <galsha@mellanox.com> Signed-off-by: Aviad Yehezkel <aviadye@mellanox.com> Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com> Reviewed-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'include/exec/exec-all.h')
0 files changed, 0 insertions, 0 deletions