summaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorAlberto Faria2022-10-13 14:36:48 +0200
committerKevin Wolf2022-10-27 20:14:11 +0200
commit1a2152568ad5d9afafff96d47d2bf340ac3dc2ea (patch)
treeaed1551b97e2aca9aaef318513b8c2a123f9d9e9 /block
parentblock/nfs: Fix 32-bit Windows build (diff)
downloadqemu-1a2152568ad5d9afafff96d47d2bf340ac3dc2ea.tar.gz
qemu-1a2152568ad5d9afafff96d47d2bf340ac3dc2ea.tar.xz
qemu-1a2152568ad5d9afafff96d47d2bf340ac3dc2ea.zip
backup: remove incorrect coroutine_fn annotation
The .set_speed callback is not called from coroutine. Signed-off-by: Alberto Faria <afaria@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Message-Id: <20221013123711.620631-2-pbonzini@redhat.com> Reviewed-by: Kevin Wolf <kwolf@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block')
-rw-r--r--block/backup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/block/backup.c b/block/backup.c
index b2b649e305..6a9ad97a53 100644
--- a/block/backup.c
+++ b/block/backup.c
@@ -309,7 +309,7 @@ static void coroutine_fn backup_pause(Job *job)
}
}
-static void coroutine_fn backup_set_speed(BlockJob *job, int64_t speed)
+static void backup_set_speed(BlockJob *job, int64_t speed)
{
BackupBlockJob *s = container_of(job, BackupBlockJob, common);