qxl: make sure primary surface is saved on migration also in compat mode

RHBZ #790083

Signed-off-by: Yonit Halperin <yhalperi@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
Yonit Halperin 2012-02-15 11:22:16 +02:00 committed by Gerd Hoffmann
parent e25139b34d
commit 2aa9e85c46

View File

@ -1471,7 +1471,7 @@ static void qxl_dirty_surfaces(PCIQXLDevice *qxl)
intptr_t vram_start;
int i;
if (qxl->mode != QXL_MODE_NATIVE) {
if (qxl->mode != QXL_MODE_NATIVE && qxl->mode != QXL_MODE_COMPAT) {
return;
}