All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] Add coroutine_fn to bdrv_check_co_entry
@ 2019-04-01  9:30 n.alekseev2104
  2019-04-03 12:05 ` Stefan Hajnoczi
  0 siblings, 1 reply; 4+ messages in thread
From: n.alekseev2104 @ 2019-04-01  9:30 UTC (permalink / raw)
  To: qemu-devel; +Cc: stefanha, jusual, kwolf, mreitz, Nikita Alekseev

From: Nikita Alekseev <n.alekseev2104@gmail.com>

bdrv_check_co_entry calls bdrv_co_check, which is a coroutine function.
Thus, it also needs to be marked as a coroutine.

Signed-off-by: Nikita Alekseev <n.alekseev2104@gmail.com>
---
 block.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/block.c b/block.c
index 0a93ee9ac8..776c43f177 100644
--- a/block.c
+++ b/block.c
@@ -4121,7 +4121,7 @@ typedef struct CheckCo {
     int ret;
 } CheckCo;
 
-static void bdrv_check_co_entry(void *opaque)
+static void coroutine_fn bdrv_check_co_entry(void *opaque)
 {
     CheckCo *cco = opaque;
     cco->ret = bdrv_co_check(cco->bs, cco->res, cco->fix);
-- 
2.21.0

^ permalink raw reply related	[flat|nested] 4+ messages in thread
[parent not found: <20190331083917.32176-1-n.alekseev2104@gmail.com>]

end of thread, other threads:[~2019-04-03 12:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-01  9:30 [Qemu-devel] [PATCH] Add coroutine_fn to bdrv_check_co_entry n.alekseev2104
2019-04-03 12:05 ` Stefan Hajnoczi
     [not found] <20190331083917.32176-1-n.alekseev2104@gmail.com>
2019-04-01  9:15 ` Stefan Hajnoczi
2019-04-01 11:31   ` Nikita

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.