qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/5] monitor+qxl: async monitor support
@ 2011-10-24 12:02 Alon Levy
  2011-10-24 12:02 ` [Qemu-devel] [PATCH 1/5] monitor: screen_dump async Alon Levy
                   ` (4 more replies)
  0 siblings, 5 replies; 20+ messages in thread
From: Alon Levy @ 2011-10-24 12:02 UTC (permalink / raw)
  To: lcapitulino, armbru, kraxel; +Cc: mlureau, qemu-devel

This patchset converts the screen_dump command to async across qemu, and then
implements it asynchronously for the qxl device in Native mode. This fixes a
hang that is caused when the spice client is also a qemu monitor client and the
client is single threaded:


  io thread                   worker thread                client

   <---------------------------------------------------- screendump
  do_screen_dump-> read------->
                               flush, read
                               client socket------------->

Monitor maintainers: The first patch changes the monitor command to be async.
The rest are qxl changes only.

Alon Levy (5):
  monitor: screen_dump async
  qxl: s/__FUNCTION__/__func__/, change logging levels
  qxl: support concurrent async commands
  qxl: split qxl_render_display_resized
  qxl: support async monitor screen dump

 console.c          |    5 +-
 console.h          |    7 +-
 hmp-commands.hx    |    3 +-
 hw/g364fb.c        |   12 ++-
 hw/qxl-render.c    |  136 ++++++++++++++++++++----------
 hw/qxl.c           |  236 +++++++++++++++++++++++++++++++++++++--------------
 hw/qxl.h           |   63 +++++++++++++-
 hw/vga.c           |    7 +-
 hw/vmware_vga.c    |    5 +-
 monitor.c          |    5 +-
 qmp-commands.hx    |    3 +-
 ui/spice-display.c |   19 ++--
 ui/spice-display.h |    7 +-
 13 files changed, 363 insertions(+), 145 deletions(-)

-- 
1.7.7

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

end of thread, other threads:[~2011-10-26 11:51 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-24 12:02 [Qemu-devel] [PATCH 0/5] monitor+qxl: async monitor support Alon Levy
2011-10-24 12:02 ` [Qemu-devel] [PATCH 1/5] monitor: screen_dump async Alon Levy
2011-10-24 15:13   ` Gerd Hoffmann
2011-10-24 15:45     ` Luiz Capitulino
2011-10-24 17:29       ` Alon Levy
2011-10-25  0:31         ` Luiz Capitulino
2011-10-25 10:13           ` Alon Levy
2011-10-25 12:51             ` Luiz Capitulino
2011-10-25 13:21               ` Alon Levy
2011-10-25 18:41                 ` Luiz Capitulino
2011-10-26 11:48                   ` Alon Levy
2011-10-25  7:16       ` Gerd Hoffmann
2011-10-24 12:02 ` [Qemu-devel] [PATCH 2/5] qxl: s/__FUNCTION__/__func__/, change logging levels Alon Levy
2011-10-24 12:02 ` [Qemu-devel] [PATCH 3/5] qxl: support concurrent async commands Alon Levy
2011-10-24 15:26   ` Gerd Hoffmann
2011-10-25 12:19     ` Alon Levy
2011-10-24 12:02 ` [Qemu-devel] [PATCH 4/5] qxl: split qxl_render_display_resized Alon Levy
2011-10-24 12:02 ` [Qemu-devel] [PATCH 5/5] qxl: support async monitor screen dump Alon Levy
2011-10-24 15:29   ` Gerd Hoffmann
2011-10-24 17:30     ` Alon Levy

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).