qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/3] console: make QMP screendump use coroutine
@ 2020-10-27 13:35 marcandre.lureau
  2020-10-27 13:36 ` [PATCH v2 1/3] coroutine: let CoQueue wake up outside a coroutine marcandre.lureau
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: marcandre.lureau @ 2020-10-27 13:35 UTC (permalink / raw)
  To: qemu-devel
  Cc: Kevin Wolf, Markus Armbruster, Dr. David Alan Gilbert, kraxel,
	Stefan Hajnoczi, Marc-André Lureau

From: Marc-André Lureau <marcandre.lureau@redhat.com>

Hi,

Thanks to recent work by Kevin, it becomes possible to run HMP/QMP commands i=
n a
coroutine. The screendump command is a good target, as it requires to re-enter
the main-loop in ordre to flush the display, and write to file. Ideally, IO
would be done with a non-blocking fd, however it's not currently enabled. This
is left for a future work.

v2:
 - change summary to not falsly claim non-blocking write support
 - code styles fixes
 - rebased, add reviewed-by tags

Marc-Andr=C3=A9 Lureau (3):
  coroutine: let CoQueue wake up outside a coroutine
  console: modify ppm_save to take a pixman image ref
  console: make QMP/HMP screendump run in coroutine

 hmp-commands.hx            |  1 +
 monitor/hmp-cmds.c         |  3 ++-
 qapi/ui.json               |  3 ++-
 ui/console.c               | 47 ++++++++++++++++++++++++++++++--------
 ui/trace-events            |  2 +-
 util/qemu-coroutine-lock.c |  6 ++---
 6 files changed, 45 insertions(+), 17 deletions(-)

--=20
2.29.0




^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2021-01-20 16:29 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-10-27 13:35 [PATCH v2 0/3] console: make QMP screendump use coroutine marcandre.lureau
2020-10-27 13:36 ` [PATCH v2 1/3] coroutine: let CoQueue wake up outside a coroutine marcandre.lureau
2020-10-27 13:36 ` [PATCH v2 2/3] console: modify ppm_save to take a pixman image ref marcandre.lureau
2020-11-03 13:24   ` Gerd Hoffmann
2020-10-27 13:36 ` [PATCH v2 3/3] console: make QMP/HMP screendump run in coroutine marcandre.lureau
2020-10-27 16:01   ` Markus Armbruster
2021-01-20 14:18   ` Gerd Hoffmann
2021-01-20 14:29     ` Marc-André Lureau
2021-01-20 16:09       ` Gerd Hoffmann
2021-01-20 16:25         ` Dr. David Alan Gilbert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).