From patchwork Wed Oct 14 17:35:06 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Juan Quintela X-Patchwork-Id: 36016 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id C2B7CB7B72 for ; Thu, 15 Oct 2009 05:03:06 +1100 (EST) Received: from localhost ([127.0.0.1]:40500 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1My8Bj-0007pX-Vw for incoming@patchwork.ozlabs.org; Wed, 14 Oct 2009 14:03:04 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1My7lc-0002VG-91 for qemu-devel@nongnu.org; Wed, 14 Oct 2009 13:36:04 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1My7lT-0002QH-GW for qemu-devel@nongnu.org; Wed, 14 Oct 2009 13:36:00 -0400 Received: from [199.232.76.173] (port=55257 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1My7lS-0002Q8-EY for qemu-devel@nongnu.org; Wed, 14 Oct 2009 13:35:54 -0400 Received: from mx1.redhat.com ([209.132.183.28]:63914) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1My7lS-0008Ol-1K for qemu-devel@nongnu.org; Wed, 14 Oct 2009 13:35:54 -0400 Received: from int-mx03.intmail.prod.int.phx2.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.16]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n9EHZr31003716 for ; Wed, 14 Oct 2009 13:35:53 -0400 Received: from localhost.localdomain (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx03.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id n9EHZXG2001016; Wed, 14 Oct 2009 13:35:52 -0400 From: Juan Quintela To: qemu-devel@nongnu.org Date: Wed, 14 Oct 2009 19:35:06 +0200 Message-Id: In-Reply-To: References: In-Reply-To: References: X-Scanned-By: MIMEDefang 2.67 on 10.5.11.16 X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. Subject: [Qemu-devel] [PATCH 15/16] vmware_vga: the support to change dinamically depth is not there X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org For a start bypp is not changed after vmsvga_reset() and it depends on depth Signed-off-by: Juan Quintela --- hw/vmware_vga.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/hw/vmware_vga.c b/hw/vmware_vga.c index cc0acf7..d0a19dd 100644 --- a/hw/vmware_vga.c +++ b/hw/vmware_vga.c @@ -1095,7 +1095,7 @@ static int vmsvga_load(struct vmsvga_state_s *s, QEMUFile *f) s->syncing=qemu_get_be32(f); s->fb_size=qemu_get_be32(f); - if (s->enable && depth != s->depth) { + if (depth != s->depth) { printf("%s: need colour depth of %i bits to resume operation.\n", __FUNCTION__, depth); return -EINVAL;