summaryrefslogtreecommitdiffstats
path: root/block/qed-table.c
diff options
context:
space:
mode:
authorAlberto Faria2022-10-13 14:37:07 +0200
committerKevin Wolf2022-10-27 20:14:11 +0200
commit3aba34adb19131ebfb996f700c518a0352a489ac (patch)
tree125b7a1157d114ebcd8d16dfb857eb52dedde48c /block/qed-table.c
parentqcow2: switch to *_co_* functions (diff)
downloadqemu-3aba34adb19131ebfb996f700c518a0352a489ac.tar.gz
qemu-3aba34adb19131ebfb996f700c518a0352a489ac.tar.xz
qemu-3aba34adb19131ebfb996f700c518a0352a489ac.zip
qed: switch to *_co_* functions
Signed-off-by: Alberto Faria <afaria@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Message-Id: <20221013123711.620631-21-pbonzini@redhat.com> Reviewed-by: Kevin Wolf <kwolf@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block/qed-table.c')
-rw-r--r--block/qed-table.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/block/qed-table.c b/block/qed-table.c
index 1cc844b1a5..aa203f2627 100644
--- a/block/qed-table.c
+++ b/block/qed-table.c
@@ -100,7 +100,7 @@ static int coroutine_fn qed_write_table(BDRVQEDState *s, uint64_t offset,
}
if (flush) {
- ret = bdrv_flush(s->bs);
+ ret = bdrv_co_flush(s->bs);
if (ret < 0) {
goto out;
}