[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 20/26] vmdk: add missing coroutine_fn annotations
From: |
Paolo Bonzini |
Subject: |
[PATCH v2 20/26] vmdk: add missing coroutine_fn annotations |
Date: |
Mon, 9 May 2022 12:30:13 +0200 |
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
block/vmdk.c | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/block/vmdk.c b/block/vmdk.c
index 38e5ab3806..2c7f1858f9 100644
--- a/block/vmdk.c
+++ b/block/vmdk.c
@@ -1793,10 +1793,10 @@ static int coroutine_fn
vmdk_co_block_status(BlockDriverState *bs,
return ret;
}
-static int vmdk_write_extent(VmdkExtent *extent, int64_t cluster_offset,
- int64_t offset_in_cluster, QEMUIOVector *qiov,
- uint64_t qiov_offset, uint64_t n_bytes,
- uint64_t offset)
+static int coroutine_fn vmdk_write_extent(VmdkExtent *extent, int64_t
cluster_offset,
+ int64_t offset_in_cluster,
QEMUIOVector *qiov,
+ uint64_t qiov_offset, uint64_t
n_bytes,
+ uint64_t offset)
{
int ret;
VmdkGrainMarker *data = NULL;
@@ -1874,9 +1874,9 @@ static int vmdk_write_extent(VmdkExtent *extent, int64_t
cluster_offset,
return ret;
}
-static int vmdk_read_extent(VmdkExtent *extent, int64_t cluster_offset,
- int64_t offset_in_cluster, QEMUIOVector *qiov,
- int bytes)
+static int coroutine_fn vmdk_read_extent(VmdkExtent *extent, int64_t
cluster_offset,
+ int64_t offset_in_cluster,
QEMUIOVector *qiov,
+ int bytes)
{
int ret;
int cluster_bytes, buf_bytes;
@@ -2023,9 +2023,9 @@ fail:
*
* Returns: error code with 0 for success.
*/
-static int vmdk_pwritev(BlockDriverState *bs, uint64_t offset,
- uint64_t bytes, QEMUIOVector *qiov,
- bool zeroed, bool zero_dry_run)
+static int coroutine_fn vmdk_pwritev(BlockDriverState *bs, uint64_t offset,
+ uint64_t bytes, QEMUIOVector *qiov,
+ bool zeroed, bool zero_dry_run)
{
BDRVVmdkState *s = bs->opaque;
VmdkExtent *extent = NULL;
--
2.35.1
- [PATCH v2 15/26] copy-before-write: add missing coroutine_fn annotations, (continued)
- [PATCH v2 15/26] copy-before-write: add missing coroutine_fn annotations, Paolo Bonzini, 2022/05/09
- [PATCH v2 17/26] qed: add missing coroutine_fn annotations, Paolo Bonzini, 2022/05/09
- [PATCH v2 18/26] quorum: add missing coroutine_fn annotations, Paolo Bonzini, 2022/05/09
- [PATCH v2 23/26] raw-format: add missing coroutine_fn annotations, Paolo Bonzini, 2022/05/09
- [PATCH v2 16/26] curl: add missing coroutine_fn annotations, Paolo Bonzini, 2022/05/09
- [PATCH v2 21/26] job: add missing coroutine_fn annotations, Paolo Bonzini, 2022/05/09
- [PATCH v2 26/26] test-coroutine: add missing coroutine_fn annotations, Paolo Bonzini, 2022/05/09
- [PATCH v2 25/26] migration: add missing coroutine_fn annotations, Paolo Bonzini, 2022/05/09
- [PATCH v2 24/26] 9p: add missing coroutine_fn annotations, Paolo Bonzini, 2022/05/09
- [PATCH v2 19/26] throttle: add missing coroutine_fn annotations, Paolo Bonzini, 2022/05/09
- [PATCH v2 20/26] vmdk: add missing coroutine_fn annotations,
Paolo Bonzini <=
- [PATCH v2 22/26] coroutine-lock: add missing coroutine_fn annotations, Paolo Bonzini, 2022/05/09
- Re: [PATCH v2 00/26] block: fix coroutine_fn annotations, Daniel P . Berrangé, 2022/05/09