Re: [PATCH v7 10/13] hmp: Add support for coroutine command handlers

2020-10-02 Thread Markus Armbruster
Additional nitpick detail on Kevin's request. Kevin Wolf writes: > Often, QMP command handlers are not only called to handle QMP commands, > but also from a corresponding HMP command handler. In order to give them > a consistent environment, optionally run HMP command handlers in a > coroutine,

Re: [PATCH v7 10/13] hmp: Add support for coroutine command handlers

2020-09-16 Thread Dr. David Alan Gilbert
* Kevin Wolf (kw...@redhat.com) wrote: > Often, QMP command handlers are not only called to handle QMP commands, > but also from a corresponding HMP command handler. In order to give them > a consistent environment, optionally run HMP command handlers in a > coroutine, too. > > The implementation