diff options
Diffstat (limited to 'posix-aio-compat.c')
-rw-r--r-- | posix-aio-compat.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/posix-aio-compat.c b/posix-aio-compat.c index e9f789c5cb..4901539b92 100644 --- a/posix-aio-compat.c +++ b/posix-aio-compat.c @@ -624,7 +624,8 @@ void *paio_init(void) fcntl(s->rfd, F_SETFL, O_NONBLOCK); fcntl(s->wfd, F_SETFL, O_NONBLOCK); - qemu_aio_set_fd_handler(s->rfd, posix_aio_read, NULL, posix_aio_flush, s); + qemu_aio_set_fd_handler(s->rfd, posix_aio_read, NULL, posix_aio_flush, + posix_aio_process_queue, s); ret = pthread_attr_init(&attr); if (ret) |