osdep: protect qemu/osdep.h with extern "C"
[qemu/ar7.git] / stubs / linux-aio.c
blob84d1f784aed9dad907ace0c61491bcbbecd4f7a4
1 /*
2 * Linux native AIO support.
4 * Copyright (C) 2009 IBM, Corp.
5 * Copyright (C) 2009 Red Hat, Inc.
7 * This work is licensed under the terms of the GNU GPL, version 2 or later.
8 * See the COPYING file in the top-level directory.
9 */
10 #include "qemu/osdep.h"
11 #include "block/aio.h"
12 #include "block/raw-aio.h"
14 void laio_detach_aio_context(LinuxAioState *s, AioContext *old_context)
16 abort();
19 void laio_attach_aio_context(LinuxAioState *s, AioContext *new_context)
21 abort();
24 LinuxAioState *laio_init(Error **errp)
26 abort();
29 void laio_cleanup(LinuxAioState *s)
31 abort();