summaryrefslogtreecommitdiffstats
path: root/include/exec
diff options
context:
space:
mode:
authorStefan Hajnoczi2013-04-17 11:01:02 +0200
committerStefan Hajnoczi2013-08-19 15:45:34 +0200
commit24d1a6d9d5f5b3da868724dd3c6f56893e0693da (patch)
treedc267666ef1208f9a2e82198c15e9fd8dba499a8 /include/exec
parentdataplane/virtio-blk: check exit conditions before aio_poll() (diff)
downloadqemu-24d1a6d9d5f5b3da868724dd3c6f56893e0693da.tar.gz
qemu-24d1a6d9d5f5b3da868724dd3c6f56893e0693da.tar.xz
qemu-24d1a6d9d5f5b3da868724dd3c6f56893e0693da.zip
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 'include/exec')
0 files changed, 0 insertions, 0 deletions