commit | 24d1a6d9d5f5b3da868724dd3c6f56893e0693da | [log] [tgz] |
---|---|---|
author | Stefan Hajnoczi <stefanha@redhat.com> | Wed Apr 17 11:01:02 2013 +0200 |
committer | Stefan Hajnoczi <stefanha@redhat.com> | Mon Aug 19 15:45:34 2013 +0200 |
tree | dc267666ef1208f9a2e82198c15e9fd8dba499a8 | |
parent | bf0da4df83e8af7ec02e3809f3dd30cc0a42e4bc [diff] |
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>