Revision da1fa91d block.h
b/block.h | ||
---|---|---|
4 | 4 |
#include "qemu-aio.h" |
5 | 5 |
#include "qemu-common.h" |
6 | 6 |
#include "qemu-option.h" |
7 |
#include "qemu-coroutine.h" |
|
7 | 8 |
#include "qobject.h" |
8 | 9 |
|
9 | 10 |
/* block.c */ |
... | ... | |
85 | 86 |
const void *buf, int count); |
86 | 87 |
int bdrv_pwrite_sync(BlockDriverState *bs, int64_t offset, |
87 | 88 |
const void *buf, int count); |
89 |
int coroutine_fn bdrv_co_readv(BlockDriverState *bs, int64_t sector_num, |
|
90 |
int nb_sectors, QEMUIOVector *qiov); |
|
91 |
int coroutine_fn bdrv_co_writev(BlockDriverState *bs, int64_t sector_num, |
|
92 |
int nb_sectors, QEMUIOVector *qiov); |
|
88 | 93 |
int bdrv_truncate(BlockDriverState *bs, int64_t offset); |
89 | 94 |
int64_t bdrv_getlength(BlockDriverState *bs); |
90 | 95 |
int64_t bdrv_get_allocated_file_size(BlockDriverState *bs); |
Also available in: Unified diff