dcavalca / rpms / qemu

Forked from rpms/qemu a year ago
Clone

Blame 0406-qxl-make-sure-primary-surface-is-saved-on-migration-.patch

56753f
From ba922e5e6a5687f13def623e36bfb834ece2defc Mon Sep 17 00:00:00 2001
56753f
From: Yonit Halperin <yhalperi@redhat.com>
56753f
Date: Wed, 15 Feb 2012 11:22:16 +0200
56753f
Subject: [PATCH 406/434] qxl: make sure primary surface is saved on migration
56753f
 also in compat mode
56753f
56753f
RHBZ #790083
56753f
56753f
Signed-off-by: Yonit Halperin <yhalperi@redhat.com>
56753f
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
56753f
---
56753f
 hw/qxl.c |    2 +-
56753f
 1 file changed, 1 insertion(+), 1 deletion(-)
56753f
56753f
diff --git a/hw/qxl.c b/hw/qxl.c
56753f
index 3d9b1b3..b910337 100644
56753f
--- a/hw/qxl.c
56753f
+++ b/hw/qxl.c
56753f
@@ -1474,7 +1474,7 @@ static void qxl_dirty_surfaces(PCIQXLDevice *qxl)
56753f
     intptr_t vram_start;
56753f
     int i;
56753f
 
56753f
-    if (qxl->mode != QXL_MODE_NATIVE) {
56753f
+    if (qxl->mode != QXL_MODE_NATIVE && qxl->mode != QXL_MODE_COMPAT) {
56753f
         return;
56753f
     }
56753f
 
56753f
-- 
56753f
1.7.10
56753f