aboutsummaryrefslogtreecommitdiff
path: root/block-raw.c
diff options
context:
space:
mode:
Diffstat (limited to 'block-raw.c')
-rw-r--r--block-raw.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/block-raw.c b/block-raw.c
index 84fdff787b..3ed4b32de0 100644
--- a/block-raw.c
+++ b/block-raw.c
@@ -1129,6 +1129,9 @@ void qemu_aio_wait_start(void)
void qemu_aio_wait(void)
{
+#ifndef QEMU_TOOL
+ qemu_bh_poll();
+#endif
}
void qemu_aio_wait_end(void)