rdma: export yield_until_fd_readable()
commit9f05d0c3a4f9e8fcb13ed09cc350af45a627809a
authorMichael R. Hines <mrhines@us.ibm.com>
Wed, 26 Jun 2013 01:35:29 +0000 (25 21:35 -0400)
committerJuan Quintela <quintela@redhat.com>
Thu, 27 Jun 2013 00:38:36 +0000 (27 02:38 +0200)
tree285c6a7eca160d837dde3d8be7e572cac2b3fd31
parent2b0ce0797d6bfb13ebefe010da86abced0b7a9b3
rdma: export yield_until_fd_readable()

The RDMA event channel can be made non-blocking just like a TCP
socket. Exporting this function allows us to yield so that the
QEMU monitor remains available.

Reviewed-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Chegu Vinod <chegu_vinod@hp.com>
Tested-by: Chegu Vinod <chegu_vinod@hp.com>
Tested-by: Michael R. Hines <mrhines@us.ibm.com>
Signed-off-by: Michael R. Hines <mrhines@us.ibm.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
include/block/coroutine.h
qemu-coroutine-io.c
savevm.c