aboutsummaryrefslogtreecommitdiff
path: root/dma.h
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2011-09-16 16:40:00 +0200
committerKevin Wolf <kwolf@redhat.com>2011-09-19 11:35:33 +0200
commitbbca72c6215c3e1df72b80bb3f54fe3b2b05212b (patch)
tree867c6cd10e3c54b75d087649bce8d2f54033d4b4 /dma.h
parent1b8f8a6f9190996c617a177acc3b8fd7dff87e24 (diff)
downloadqemu-bbca72c6215c3e1df72b80bb3f54fe3b2b05212b.zip
qemu-bbca72c6215c3e1df72b80bb3f54fe3b2b05212b.tar.gz
qemu-bbca72c6215c3e1df72b80bb3f54fe3b2b05212b.tar.bz2
dma-helpers: rename is_write to to_dev
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'dma.h')
-rw-r--r--dma.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/dma.h b/dma.h
index a6db5ba..b222346 100644
--- a/dma.h
+++ b/dma.h
@@ -39,7 +39,7 @@ typedef BlockDriverAIOCB *DMAIOFunc(BlockDriverState *bs, int64_t sector_num,
BlockDriverAIOCB *dma_bdrv_io(BlockDriverState *bs,
QEMUSGList *sg, uint64_t sector_num,
DMAIOFunc *io_func, BlockDriverCompletionFunc *cb,
- void *opaque, int is_write);
+ void *opaque, bool to_dev);
BlockDriverAIOCB *dma_bdrv_read(BlockDriverState *bs,
QEMUSGList *sg, uint64_t sector,
BlockDriverCompletionFunc *cb, void *opaque);