diff options
author | Kevin Wolf <kwolf@redhat.com> | 2016-03-08 13:47:48 +0100 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2016-03-17 15:47:57 +0100 |
commit | a8823a3bfd8a8adfa11dea61b151175a02caa7d0 (patch) | |
tree | aa0293036f54322b0e1cc6f19c3a59328fbdb3e1 /include | |
parent | 1bf1cbc91f3575ea27e33d0cd2cc49db81ffb2f6 (diff) |
block: Use blk_co_pwritev() for blk_write()
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/block/block_int.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/block/block_int.h b/include/block/block_int.h index b78be8daf8..ba6e9ac696 100644 --- a/include/block/block_int.h +++ b/include/block/block_int.h @@ -511,6 +511,9 @@ void bdrv_setup_io_funcs(BlockDriver *bdrv); int coroutine_fn bdrv_co_do_preadv(BlockDriverState *bs, int64_t offset, unsigned int bytes, QEMUIOVector *qiov, BdrvRequestFlags flags); +int coroutine_fn bdrv_co_do_pwritev(BlockDriverState *bs, + int64_t offset, unsigned int bytes, QEMUIOVector *qiov, + BdrvRequestFlags flags); int get_tmp_filename(char *filename, int size); BlockDriver *bdrv_probe_all(const uint8_t *buf, int buf_size, |