Re: [PATCH 3/7] chardev/char.c: Use qemu_co_sleep_ns if in coroutine

2020-05-19 Thread Philippe Mathieu-Daudé
On 5/19/20 10:02 PM, Zhang Chen wrote: From: Lukas Straub This will be needed in the next patch. Can you reword to something clearer, maybe: "To be able to convert compare_chr_send to a coroutine in the next commit, use qemu_co_sleep_ns if in coroutine." Reviewed-by: Philippe Mathieu-Daudé

[PATCH 3/7] chardev/char.c: Use qemu_co_sleep_ns if in coroutine

2020-05-19 Thread Zhang Chen
From: Lukas Straub This will be needed in the next patch. Signed-off-by: Lukas Straub Reviewed-by: Marc-André Lureau Reviewed-by: Zhang Chen Signed-off-by: Zhang Chen --- chardev/char.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/chardev/char.c b/chardev/char.c