Patchwork [v2,2/2] qxl: make sure primary surface is saved on migration also in compat mode

login
register
mail settings
Submitter Yonit Halperin
Date Feb. 15, 2012, 9:22 a.m.
Message ID <1329297736-3049-2-git-send-email-yhalperi@redhat.com>
Download mbox | patch
Permalink /patch/141280/
State New
Headers show

Comments

Yonit Halperin - Feb. 15, 2012, 9:22 a.m.
RHBZ #790083

Signed-off-by: Yonit Halperin <yhalperi@redhat.com>
---
 hw/qxl.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch

diff --git a/hw/qxl.c b/hw/qxl.c
index df55de1..10137f9 100644
--- a/hw/qxl.c
+++ b/hw/qxl.c
@@ -1470,7 +1470,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;
     }