summaryrefslogtreecommitdiffstats
path: root/include/sysemu
diff options
context:
space:
mode:
authorAlberto Faria2022-07-05 18:15:17 +0200
committerHanna Reitz2022-07-12 12:14:56 +0200
commit09cca043bf68719f93f0ce1f1efafbec4ca72229 (patch)
treea267bc55f43ec22064940878a3c2d3e7a7235f92 /include/sysemu
parentblock: Add blk_[co_]preadv_part() (diff)
downloadqemu-09cca043bf68719f93f0ce1f1efafbec4ca72229.tar.gz
qemu-09cca043bf68719f93f0ce1f1efafbec4ca72229.tar.xz
qemu-09cca043bf68719f93f0ce1f1efafbec4ca72229.zip
block: Export blk_pwritev_part() in block-backend-io.h
Also convert it into a generated_co_wrapper. Signed-off-by: Alberto Faria <afaria@redhat.com> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Hanna Reitz <hreitz@redhat.com> Message-Id: <20220705161527.1054072-10-afaria@redhat.com> Signed-off-by: Hanna Reitz <hreitz@redhat.com>
Diffstat (limited to 'include/sysemu')
-rw-r--r--include/sysemu/block-backend-io.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/sysemu/block-backend-io.h b/include/sysemu/block-backend-io.h
index 877274a999..93a15071c4 100644
--- a/include/sysemu/block-backend-io.h
+++ b/include/sysemu/block-backend-io.h
@@ -120,6 +120,10 @@ int generated_co_wrapper blk_preadv(BlockBackend *blk, int64_t offset,
int coroutine_fn blk_co_preadv(BlockBackend *blk, int64_t offset,
int64_t bytes, QEMUIOVector *qiov,
BdrvRequestFlags flags);
+int generated_co_wrapper blk_pwritev_part(BlockBackend *blk, int64_t offset,
+ int64_t bytes, QEMUIOVector *qiov,
+ size_t qiov_offset,
+ BdrvRequestFlags flags);
int coroutine_fn blk_co_pwritev_part(BlockBackend *blk, int64_t offset,
int64_t bytes,
QEMUIOVector *qiov, size_t qiov_offset,