« Previous | Next » 

Revision 24d1a6d9

ID24d1a6d9d5f5b3da868724dd3c6f56893e0693da

Added by Stefan Hajnoczi over 10 years ago

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 <>
Signed-off-by: Stefan Hajnoczi <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences