aboutsummaryrefslogtreecommitdiff
path: root/qemu-coroutine.c
diff options
context:
space:
mode:
Diffstat (limited to 'qemu-coroutine.c')
-rw-r--r--qemu-coroutine.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/qemu-coroutine.c b/qemu-coroutine.c
index 525247b050..5019b81dd5 100644
--- a/qemu-coroutine.c
+++ b/qemu-coroutine.c
@@ -148,5 +148,5 @@ void coroutine_fn qemu_coroutine_yield(void)
}
self->caller = NULL;
- coroutine_swap(self, to);
+ qemu_coroutine_switch(self, to, COROUTINE_YIELD);
}