summaryrefslogtreecommitdiffstats
path: root/hw
diff options
context:
space:
mode:
authorYonit Halperin <yhalperi@redhat.com>2012-02-15 11:22:16 +0200
committerGerd Hoffmann <kraxel@redhat.com>2012-02-21 10:36:04 +0100
commit2aa9e85c4634100cd10b1a052b0d6e22e1ce5911 (patch)
tree1ad2a69d55fdce0b847fd762715bba8b81c7c39c /hw
parente25139b34d27847ff19140adada77ea4c5398863 (diff)
downloadhqemu-2aa9e85c4634100cd10b1a052b0d6e22e1ce5911.zip
hqemu-2aa9e85c4634100cd10b1a052b0d6e22e1ce5911.tar.gz
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>
Diffstat (limited to 'hw')
-rw-r--r--hw/qxl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/qxl.c b/hw/qxl.c
index b544f31..5c6b556 100644
--- a/hw/qxl.c
+++ b/hw/qxl.c
@@ -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;
}
OpenPOWER on IntegriCloud