On 5/28/20 10:37 AM, Kevin Wolf wrote:
This way, a monitor command handler will still be able to access the
current monitor, but when it yields, all other code code will correctly
get NULL from monitor_cur().
Outside of coroutine context, qemu_coroutine_self() returns the leader
coroutine of the current thread.
Signed-off-by: Kevin Wolf <kw...@redhat.com>
---
Reviewed-by: Eric Blake <ebl...@redhat.com>
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3226
Virtualization: qemu.org | libvirt.org