qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] PATCH: add missing (dummy) raw_aio_ioctl() for FreeBSD case
@ 2009-05-01 19:30 Juergen Lock
  2009-05-01 20:05 ` Anthony Liguori
  0 siblings, 1 reply; 7+ messages in thread
From: Juergen Lock @ 2009-05-01 19:30 UTC (permalink / raw)
  To: qemu-devel

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 <nox@jelal.kn-bremen.de>

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2009-05-02 18:02 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-01 19:30 [Qemu-devel] PATCH: add missing (dummy) raw_aio_ioctl() for FreeBSD case Juergen Lock
2009-05-01 20:05 ` Anthony Liguori
2009-05-01 20:18   ` M. Warner Losh
2009-05-01 21:19     ` Juergen Lock
2009-05-01 21:52       ` Christoph Hellwig
2009-05-02 14:30         ` Juergen Lock
2009-05-02 18:01           ` Christoph Hellwig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).