Kevin Wolf <[email protected]> writes: > Some QMP command handlers can block the main loop for a relatively long > time, for example because they perform some I/O. This is quite nasty. > Allowing such handlers to run in a coroutine where they can yield (and > therefore release the BQL) while waiting for an event such as I/O > completion solves the problem. > > This series adds the infrastructure to allow this and switches > block_resize to run in a coroutine as a first example. > > This is an alternative solution to Marc-André's "monitor: add > asynchronous command type" series.
PATCH 01-10: Reviewed-by: Markus Armbruster <[email protected]> PATCH 11-14 are for Stefan to review. I can take this through my tree once that's done. Marc-André, I figure rebasing your "[PATCH] console: make QMP screendump use coroutine" on top of this is now low risk. No rush, of course.
