mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-11 03:24:58 -06:00
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:
parent
e25139b34d
commit
2aa9e85c46
1 changed files with 1 additions and 1 deletions
2
hw/qxl.c
2
hw/qxl.c
|
@ -1471,7 +1471,7 @@ static void qxl_dirty_surfaces(PCIQXLDevice *qxl)
|
||||||
intptr_t vram_start;
|
intptr_t vram_start;
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
if (qxl->mode != QXL_MODE_NATIVE) {
|
if (qxl->mode != QXL_MODE_NATIVE && qxl->mode != QXL_MODE_COMPAT) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue