提交 d15b1aa3 编写于 作者: G Gerd Hoffmann 提交者: Michael Roth

qxl: better vga init in enter_vga_mode

Ask the vga core to update the display.  Will trigger dpy_gfx_resize
if needed.  More complete than just calling dpy_gfx_resize.
Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
(cherry picked from commit c099e7aa)
Signed-off-by: NMichael Roth <mdroth@linux.vnet.ibm.com>
上级 65fe29ec
......@@ -1075,8 +1075,8 @@ static void qxl_enter_vga_mode(PCIQXLDevice *d)
trace_qxl_enter_vga_mode(d->id);
qemu_spice_create_host_primary(&d->ssd);
d->mode = QXL_MODE_VGA;
dpy_gfx_resize(d->ssd.ds);
vga_dirty_log_start(&d->vga);
vga_hw_update();
}
static void qxl_exit_vga_mode(PCIQXLDevice *d)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册