diff options
author | Alberto Faria <afaria@redhat.com> | 2022-10-13 14:36:48 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2022-10-27 20:14:11 +0200 |
commit | 1a2152568ad5d9afafff96d47d2bf340ac3dc2ea (patch) | |
tree | aed1551b97e2aca9aaef318513b8c2a123f9d9e9 /block/backup.c | |
parent | ebdebe47283dd7d20d88834f03f741758419c254 (diff) | |
download | qemu-1a2152568ad5d9afafff96d47d2bf340ac3dc2ea.zip qemu-1a2152568ad5d9afafff96d47d2bf340ac3dc2ea.tar.gz qemu-1a2152568ad5d9afafff96d47d2bf340ac3dc2ea.tar.bz2 |
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/backup.c')
-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 b2b649e..6a9ad97 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); |