commit | 9fe3781f09f94f3ce76e52899bcdeb0d5164dbb1 | [log] [tgz] |
---|---|---|
author | Stefan Hajnoczi <stefanha@redhat.com> | Tue Dec 04 16:12:18 2012 +0100 |
committer | Kevin Wolf <kwolf@redhat.com> | Tue Dec 11 11:04:25 2012 +0100 |
tree | 70ae54231c5d607f23e931613a6008351215b22f | |
parent | 1c97e303d4ea80a2691334b0febe87a50660f99d [diff] |
tests: use aio_poll() instead of aio_flush() in test-aio.c There has been confusion between various aio wait and flush functions. It's time to get rid of qemu_aio_flush() but in the aio test cases we really do want this low-level functionality. Therefore declare a local wait_for_aio() helper for the test cases. Drop the aio_flush() test case. Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Acked-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>