aboutsummaryrefslogtreecommitdiff
path: root/block/raw-posix-aio.h
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2012-05-25 11:46:27 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2012-10-31 10:38:12 +0100
commitde81a169366c2e3e0c47d0be637cc450b71aac67 (patch)
treeb44b50242b5316c6adb5dfd272ba6551708d3a31 /block/raw-posix-aio.h
parent47e6b251a5e9a47c406f2f2c0b01bb88854c98ec (diff)
raw: merge posix-aio-compat.c into block/raw-posix.c
Making the qemu_paiocb specific to raw devices will let us access members of the BDRVRawState arbitrarily. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'block/raw-posix-aio.h')
-rw-r--r--block/raw-posix-aio.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/block/raw-posix-aio.h b/block/raw-posix-aio.h
index 6725135dd4..c714367401 100644
--- a/block/raw-posix-aio.h
+++ b/block/raw-posix-aio.h
@@ -27,14 +27,6 @@
#define QEMU_AIO_MISALIGNED 0x1000
-/* posix-aio-compat.c - thread pool based implementation */
-BlockDriverAIOCB *paio_submit(BlockDriverState *bs, int fd,
- int64_t sector_num, QEMUIOVector *qiov, int nb_sectors,
- BlockDriverCompletionFunc *cb, void *opaque, int type);
-BlockDriverAIOCB *paio_ioctl(BlockDriverState *bs, int fd,
- unsigned long int req, void *buf,
- BlockDriverCompletionFunc *cb, void *opaque);
-
/* linux-aio.c - Linux native implementation */
void *laio_init(void);
BlockDriverAIOCB *laio_submit(BlockDriverState *bs, void *aio_ctx, int fd,