[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 01/24] backup: remove incorrect coroutine_fn annotation
From: |
Paolo Bonzini |
Subject: |
[PATCH 01/24] backup: remove incorrect coroutine_fn annotation |
Date: |
Thu, 13 Oct 2022 14:36:48 +0200 |
From: Alberto Faria <afaria@redhat.com>
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>
---
block/backup.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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);
--
2.37.3
- [PATCH 00/24] More coroutine_fn fixes, Paolo Bonzini, 2022/10/13
- [PATCH 01/24] backup: remove incorrect coroutine_fn annotation,
Paolo Bonzini <=
- [PATCH 03/24] monitor: add missing coroutine_fn annotation, Paolo Bonzini, 2022/10/13
- [PATCH 04/24] ssh: add missing coroutine_fn annotation, Paolo Bonzini, 2022/10/13
- [PATCH 05/24] block: add missing coroutine_fn annotation to prototypes, Paolo Bonzini, 2022/10/13
- [PATCH 02/24] block: remove incorrect coroutine_fn annotation, Paolo Bonzini, 2022/10/13
- [PATCH 08/24] block: add missing coroutine_fn annotation to BlockDriverState callbacks, Paolo Bonzini, 2022/10/13
- [PATCH 06/24] coroutine-lock: add missing coroutine_fn annotation to prototypes, Paolo Bonzini, 2022/10/13
- [PATCH 07/24] coroutine-io: add missing coroutine_fn annotation to prototypes, Paolo Bonzini, 2022/10/13
- [PATCH 09/24] qcow2: add coroutine_fn annotation for indirect-called functions, Paolo Bonzini, 2022/10/13
- [PATCH 14/24] commit: switch to *_co_* functions, Paolo Bonzini, 2022/10/13
- [PATCH 13/24] vmdk: manually add more coroutine_fn annotations, Paolo Bonzini, 2022/10/13