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:
Alberto Faria 2022-10-13 14:36:48 +02:00 committed by Kevin Wolf
parent ebdebe4728
commit 1a2152568a

View 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);