diff options
| author | Lukas Straub | 2020-05-22 09:53:52 +0200 |
|---|---|---|
| committer | Jason Wang | 2020-06-18 15:05:52 +0200 |
| commit | 2158fa1be7c1e76e2c25c32d75bb38e90cce0267 (patch) | |
| tree | 2d37fee8e2780d3c22ef34e3e3dfe38f6ca897d7 /include | |
| parent | net/colo-compare.c: Create event_bh with the right AioContext (diff) | |
| download | qemu-2158fa1be7c1e76e2c25c32d75bb38e90cce0267.tar.gz qemu-2158fa1be7c1e76e2c25c32d75bb38e90cce0267.tar.xz qemu-2158fa1be7c1e76e2c25c32d75bb38e90cce0267.zip | |
chardev/char.c: Use qemu_co_sleep_ns if in coroutine
To be able to convert compare_chr_send to a coroutine in the
next commit, use qemu_co_sleep_ns if in coroutine.
Signed-off-by: Lukas Straub <lukasstraub2@web.de>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Zhang Chen <chen.zhang@intel.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Zhang Chen <chen.zhang@intel.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
