diff options
author | Alberto Faria | 2022-10-13 14:36:48 +0200 |
---|---|---|
committer | Kevin Wolf | 2022-10-27 20:14:11 +0200 |
commit | 1a2152568ad5d9afafff96d47d2bf340ac3dc2ea (patch) | |
tree | aed1551b97e2aca9aaef318513b8c2a123f9d9e9 /block | |
parent | block/nfs: Fix 32-bit Windows build (diff) | |
download | qemu-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.c | 2 |
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); |