aboutsummaryrefslogtreecommitdiff
path: root/linux-aio.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux-aio.c')
-rw-r--r--linux-aio.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/linux-aio.c b/linux-aio.c
index 5fd39327b3..5265a029b2 100644
--- a/linux-aio.c
+++ b/linux-aio.c
@@ -181,6 +181,7 @@ BlockDriverAIOCB *laio_submit(BlockDriverState *bs, void *aio_ctx, int fd,
case QEMU_AIO_READ:
io_prep_preadv(iocbs, fd, qiov->iov, qiov->niov, offset);
break;
+ /* Currently Linux kernel does not support other operations */
default:
fprintf(stderr, "%s: invalid AIO request type 0x%x.\n",
__func__, type);