diff --git a/util/async.c b/util/async.c index 05979f8014b8a7bddb6c5fb7e3e64678dab22f3e..c10642a385be5a0495fa8ca36a556f39dc71ac17 100644 --- a/util/async.c +++ b/util/async.c @@ -400,7 +400,7 @@ static void co_schedule_bh_cb(void *opaque) /* Protected by write barrier in qemu_aio_coroutine_enter */ atomic_set(&co->scheduled, NULL); - qemu_coroutine_enter(co); + qemu_aio_coroutine_enter(ctx, co); aio_context_release(ctx); } }