[Spice-devel] [PATCHv4] async and s3 support
Alon Levy
alevy at redhat.com
Tue Jul 12 07:03:33 PDT 2011
v4 changes:
+ no breakage of old api (specifically, update_area is no longer changed)
+ remove surface_updated, rename it update_area_complete, the logic is:
async_complete is called for *all* async operations, including
update_area_async. update_area_complete is called for update_area_async (the
current order is update_area_complete first, but that is not guranteed).
+ update_area_async gets clear_dirty_region just like update_area
+ (just a specific case of point 2) handle_dev_stop doesn't notify
of dirty regions. leaving this as a todo for now. (qemu/qxl wasn't handling
this anyway yet)
+ fixed bug in implementation of update_area_async (one too many address-of)
git tree:
git://anongit.freedesktop.org/~alon/spice async_and_s3.v4
additional requirements for testing:
git://anongit.freedesktop.org/~alon/qemu async_and_s3.v3
git://anongit.freedesktop.org/~alon/spice-protocol s3.v2 (unchanged)
git://anongit.freedesktop.org/~alon/qxl s3.v3.async.v3 (unchanged)
Alon Levy (6):
server/red_worker: *_release_item: less frequent debug messages
server/red_worker: remove print on handle_dev_destroy_surfaces
server: add async io support
server: add QXLInterface::update_area_complete callback
server: add QXLWorker.flush_surfaces_async for S3/S4 support
server/spice.h: bump QXL_MINOR because of QXLWorker and QXLInterface
changes
server/red_dispatcher.c | 167 +++++++++++++++++++++++++++++------
server/red_parse_qxl.c | 2 +-
server/red_parse_qxl.h | 2 +-
server/red_worker.c | 222 ++++++++++++++++++++++++++++++++++-------------
server/red_worker.h | 9 ++
server/spice.h | 18 ++++-
6 files changed, 329 insertions(+), 91 deletions(-)
--
1.7.6
More information about the Spice-devel
mailing list