diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2013-02-28 11:08:50 +0100 |
---|---|---|
committer | Michael Roth <mdroth@linux.vnet.ibm.com> | 2013-04-04 17:33:55 -0500 |
commit | d15b1aa30c8b57e89beb41d67cd87cd4fbaacd8c (patch) | |
tree | 5d4f10d62cd1d5cd5ccc5ba875d345acb527c789 | |
parent | 65fe29ec000bd3d5b8fd4d15c2379fe6c24dae94 (diff) | |
download | qemu-d15b1aa30c8b57e89beb41d67cd87cd4fbaacd8c.tar.gz |
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: Gerd Hoffmann <kraxel@redhat.com>
(cherry picked from commit c099e7aa0295678859d58e9e60b7619f6ae3bac8)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
-rw-r--r-- | hw/qxl.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |