v2 changes: added cookie (uint64_t), seperate patch added surface_update (as long as we are changing the api) - more of an RfC since I'm not sure what Gerd wants..
v1 comment: 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 (4): server: add async io support server: add QXLWorker.flush_surfaces_async for S3/S4 support server: async: add cookie server/spice.h: add surface_updated callback (unused yet) server/red_dispatcher.c | 207 +++++++++++++++++++++++++++++++++++++++-------- server/red_parse_qxl.c | 2 +- server/red_parse_qxl.h | 2 +- server/red_worker.c | 140 +++++++++++++++++++++----------- server/red_worker.h | 10 +++ server/spice.h | 16 ++++ 6 files changed, 295 insertions(+), 82 deletions(-) -- 1.7.5.4 _______________________________________________ Spice-devel mailing list Spice-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/spice-devel