qxl: set only off-screen surfaces dirty instead of the whole vram
commite25139b34d27847ff19140adada77ea4c5398863
authorYonit Halperin <yhalperi@redhat.com>
Wed, 15 Feb 2012 09:22:15 +0000 (15 11:22 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 21 Feb 2012 09:36:04 +0000 (21 10:36 +0100)
tree8c60e6e451f4195a7ec3758eb1d59d72a054c2b1
parent7844e448d1b674ac136a89018fd5a7e44fe7c73c
qxl: set only off-screen surfaces dirty instead of the whole vram

We used to assure the guest surfaces were saved before migration by
setting the whole vram dirty. This patch sets dirty only the areas
that are actually used in the vram.

Signed-off-by: Yonit Halperin <yhalperi@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/qxl.c