[Spice-devel] [PATCH v3] server: add QXLInterface::surface_updated callback

Gerd Hoffmann kraxel at redhat.com
Thu Jul 7 23:41:22 PDT 2011


On 07/07/11 18:33, Alon Levy wrote:
> This is RfC quality. Specifically where to call surface_updated. Currently I
> only call it from stop. This should be good enough for migration, which is
> the only use case I think. This means after stop qemu is guranteed to know
> the dirty regions of all surfaces.

The other use case is local rendering when using qxl with vnc.  qemu 
calls update_area for the primary surface then, and passes on the 
updated rectangles so the vnc server will send the updates to the 
client.  When moving this to the async interface by calling 
update_area_async instead it I'll need surface_update calling me back 
when the renderer is done.

cheers,
   Gerd


More information about the Spice-devel mailing list