From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:45564) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UFMWd-0001d4-I1 for qemu-devel@nongnu.org; Tue, 12 Mar 2013 06:34:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UFMVq-00050K-Mn for qemu-devel@nongnu.org; Tue, 12 Mar 2013 06:33:43 -0400 Received: from mx1.redhat.com ([209.132.183.28]:5200) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UFMVq-0004zx-Ea for qemu-devel@nongnu.org; Tue, 12 Mar 2013 06:32:54 -0400 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r2CAWrZ7007606 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 12 Mar 2013 06:32:53 -0400 From: Gerd Hoffmann Date: Tue, 12 Mar 2013 11:32:36 +0100 Message-Id: <1363084369-27517-6-git-send-email-kraxel@redhat.com> In-Reply-To: <1363084369-27517-1-git-send-email-kraxel@redhat.com> References: <1363084369-27517-1-git-send-email-kraxel@redhat.com> Subject: [Qemu-devel] [PATCH 05/18] qxl: better vga init in enter_vga_mode List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Gerd Hoffmann 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 --- hw/qxl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/qxl.c b/hw/qxl.c index 54a8d91..5d830f0 100644 --- a/hw/qxl.c +++ b/hw/qxl.c @@ -1073,8 +1073,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) -- 1.7.9.7