Revision f141eafe block_int.h
b/block_int.h | ||
---|---|---|
54 | 54 |
int (*bdrv_set_key)(BlockDriverState *bs, const char *key); |
55 | 55 |
int (*bdrv_make_empty)(BlockDriverState *bs); |
56 | 56 |
/* aio */ |
57 |
BlockDriverAIOCB *(*bdrv_aio_read)(BlockDriverState *bs, |
|
58 |
int64_t sector_num, uint8_t *buf, int nb_sectors,
|
|
57 |
BlockDriverAIOCB *(*bdrv_aio_readv)(BlockDriverState *bs,
|
|
58 |
int64_t sector_num, QEMUIOVector *qiov, int nb_sectors,
|
|
59 | 59 |
BlockDriverCompletionFunc *cb, void *opaque); |
60 |
BlockDriverAIOCB *(*bdrv_aio_write)(BlockDriverState *bs, |
|
61 |
int64_t sector_num, const uint8_t *buf, int nb_sectors,
|
|
60 |
BlockDriverAIOCB *(*bdrv_aio_writev)(BlockDriverState *bs,
|
|
61 |
int64_t sector_num, QEMUIOVector *qiov, int nb_sectors,
|
|
62 | 62 |
BlockDriverCompletionFunc *cb, void *opaque); |
63 | 63 |
void (*bdrv_aio_cancel)(BlockDriverAIOCB *acb); |
64 | 64 |
int aiocb_size; |
Also available in: Unified diff