summaryrefslogtreecommitdiff
path: root/aio-posix.c
diff options
context:
space:
mode:
authorStefan Hajnoczi <stefanha@redhat.com>2013-04-17 11:01:02 +0200
committerStefan Hajnoczi <stefanha@redhat.com>2013-08-19 15:45:34 +0200
commit24d1a6d9d5f5b3da868724dd3c6f56893e0693da (patch)
treedc267666ef1208f9a2e82198c15e9fd8dba499a8 /aio-posix.c
parentbf0da4df83e8af7ec02e3809f3dd30cc0a42e4bc (diff)
downloadqemu-24d1a6d9d5f5b3da868724dd3c6f56893e0693da.tar.gz
tests: adjust test-aio to new aio_poll() semantics
aio_poll(ctx, true) will soon block if any fd handlers have been set. Previously it would only block when .io_flush() returned true. This means that callers must check their wait condition *before* aio_poll() to avoid deadlock. Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'aio-posix.c')
0 files changed, 0 insertions, 0 deletions