diff options
| author | Stefan Hajnoczi <stefanha@redhat.com> | 2012-12-04 16:12:19 +0100 |
|---|---|---|
| committer | Kevin Wolf <kwolf@redhat.com> | 2012-12-11 11:04:25 +0100 |
| commit | 8a805c222caa0e20bf11d2267f726d0bb5917d94 (patch) | |
| tree | 48f762363a9dfc1b3a0f0e6eb6b77e00e110f138 /async.c | |
| parent | 9fe3781f09f94f3ce76e52899bcdeb0d5164dbb1 (diff) | |
| download | focaccia-qemu-8a805c222caa0e20bf11d2267f726d0bb5917d94.tar.gz focaccia-qemu-8a805c222caa0e20bf11d2267f726d0bb5917d94.zip | |
tests: avoid qemu_aio_flush() in test-thread-pool.c
We need to eliminate calls to qemu_aio_flush() since the function is being removed. Most callers will use bdrv_drain_all() instead but test-thread-pool.c is lower level. Since the test uses the global AioContext we can loop on qemu_aio_wait() to wait for aio and bh activity to complete. Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Acked-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'async.c')
0 files changed, 0 insertions, 0 deletions