diff options
| author | Stefan Hajnoczi | 2013-04-17 11:01:02 +0200 |
|---|---|---|
| committer | Stefan Hajnoczi | 2013-08-19 15:45:34 +0200 |
| commit | 24d1a6d9d5f5b3da868724dd3c6f56893e0693da (patch) | |
| tree | dc267666ef1208f9a2e82198c15e9fd8dba499a8 /include/exec | |
| parent | dataplane/virtio-blk: check exit conditions before aio_poll() (diff) | |
| download | qemu-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
