Hi,

Just a rough + incomplete draft for now, to show the idea.

Series adds a new screendump qmp command.  This does (a) allow
to specify the device we want dump from, (b) does the actual
image writing in a bottom half and (c) sends a qmp event when
(not done yet, just a comment for now).

It also adds a graphics_hw_update() variant with completion
notification (by calling a bottom half).

qxl then could stick the pointer to the notification BH into the
QXLCookie struct and schedule the BH when spice server finished
updating the screen.

Gerd Hoffmann (2):
  display update with notification
  console: add screendump-device qmp cmd

 include/ui/console.h |    2 ++
 qapi-schema.json     |   15 +++++++++++
 qmp-commands.hx      |   25 +++++++++++++++++++
 ui/console.c         |   67 ++++++++++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 109 insertions(+)

-- 
1.7.9.7


Reply via email to