]> xenbits.xensource.com Git - people/pauldu/qemu.git/commitdiff
backup: remove incorrect coroutine_fn annotation
authorAlberto Faria <afaria@redhat.com>
Thu, 13 Oct 2022 12:36:48 +0000 (14:36 +0200)
committerKevin Wolf <kwolf@redhat.com>
Thu, 27 Oct 2022 18:14:11 +0000 (20:14 +0200)
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>
block/backup.c

index b2b649e30556ac26d75737d75d742d4b8d9509a3..6a9ad97a53222eea11b5b2c85de9380e29d4a29c 100644 (file)
@@ -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);