[Spice-devel] [PATCH] async and s3 support

Alon Levy alevy at redhat.com
Wed Jul 6 04:39:34 PDT 2011

This is a redoing of async io support using spice api changes, and on top of
it the s3 support patches using the original suggestion of an added api call (but
named flush_surfaces instead of update_mem).

Recap: After the previous discussions with Gerd and Yonit we agreed a way to
call flush_all_qxl_commands is needed before suspend, and so a change of the
spice server api is inevitable. As a result a simpler implementation of async io
is possible using yet more spice server api changes (async io means here io
calls were the completion is notified by a new interrupt and so the vmexit is
much shorter)

Alon Levy (2):
  server: add async io support
  server: add QXLWorker.flush_surfaces_async for S3/S4 support

 server/red_dispatcher.c |  189 ++++++++++++++++++++++++++++++++++++++--------
 server/red_parse_qxl.c  |    2 +-
 server/red_parse_qxl.h  |    2 +-
 server/red_worker.c     |  138 +++++++++++++++++++++++------------
 server/red_worker.h     |   10 +++
 server/spice.h          |   14 ++++
 6 files changed, 273 insertions(+), 82 deletions(-)


More information about the Spice-devel mailing list