mirror of
https://gitlab.com/qemu-project/qemu
synced 2024-07-09 12:36:32 +00:00
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>
This commit is contained in:
parent
ebdebe4728
commit
1a2152568a
|
@ -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);
|
BackupBlockJob *s = container_of(job, BackupBlockJob, common);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user