qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] PATCH: add missing (dummy) raw_aio_ioctl() for FreeBSD case


From: Juergen Lock
Subject: [Qemu-devel] PATCH: add missing (dummy) raw_aio_ioctl() for FreeBSD case
Date: Fri, 1 May 2009 21:30:30 +0200
User-agent: Mutt/1.5.19 (2009-01-05)

Assuming this never actually gets called (yet?), I just added a dummy:

Index: qemu/block-raw-posix.c
@@ -1323,6 +1323,16 @@
 {
     return -ENOTSUP;
 }
+
+#ifdef CONFIG_AIO
+static BlockDriverAIOCB *raw_aio_ioctl(BlockDriverState *bs,
+        unsigned long int req, void *buf,
+        BlockDriverCompletionFunc *cb, void *opaque)
+{
+    return NULL;
+}
+#endif
+
 #else /* !linux && !FreeBSD */
 
 static int fd_open(BlockDriverState *bs)

Signed-off-by: Juergen Lock <address@hidden>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]