summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--include/block/aio.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/block/aio.h b/include/block/aio.h
index bcc165c974..f08b358077 100644
--- a/include/block/aio.h
+++ b/include/block/aio.h
@@ -467,7 +467,7 @@ void aio_dispatch(AioContext *ctx);
  * or more AIO events have completed, to ensure something has moved
  * before returning.
  */
-bool aio_poll(AioContext *ctx, bool blocking);
+bool no_coroutine_fn aio_poll(AioContext *ctx, bool blocking);
 
 /* Register a file descriptor and associated callbacks.  Behaves very similarly
  * to qemu_set_fd_handler.  Unlike qemu_set_fd_handler, these callbacks will