diff options
author | Stefan Hajnoczi <stefanha@redhat.com> | 2013-04-16 17:49:42 +0200 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2013-08-19 15:45:35 +0200 |
commit | 35ecde26018207fe723bec6efbd340db6e9c2d53 (patch) | |
tree | be703d3f54a71dcfeb5787fff2055e9a19e6653d /pc-bios/pxe-pcnet.rom | |
parent | 24d1a6d9d5f5b3da868724dd3c6f56893e0693da (diff) |
tests: adjust test-thread-pool to new aio_poll() semantics
aio_poll(ctx, true) will soon block when fd handlers have been set.
Previously aio_poll() would return early if all .io_flush() returned
false. This means we need to check the equivalent of the .io_flush()
condition *before* calling aio_poll(ctx, true) to avoid deadlock.
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'pc-bios/pxe-pcnet.rom')
0 files changed, 0 insertions, 0 deletions