From patchwork Mon Mar 19 11:48:00 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefano Stabellini X-Patchwork-Id: 147486 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 6E8C6B6EF3 for ; Mon, 19 Mar 2012 22:38:15 +1100 (EST) Received: from localhost ([::1]:34618 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S9aug-0006MG-At for incoming@patchwork.ozlabs.org; Mon, 19 Mar 2012 07:38:10 -0400 Received: from eggs.gnu.org ([208.118.235.92]:57620) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S9auT-0006M8-4U for qemu-devel@nongnu.org; Mon, 19 Mar 2012 07:38:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S9auM-0008Tx-SY for qemu-devel@nongnu.org; Mon, 19 Mar 2012 07:37:56 -0400 Received: from smtp02.citrix.com ([66.165.176.63]:34276) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S9auM-0008Tq-O3 for qemu-devel@nongnu.org; Mon, 19 Mar 2012 07:37:50 -0400 X-IronPort-AV: E=Sophos;i="4.73,611,1325480400"; d="scan'208";a="186493526" Received: from ftlpmailmx02.citrite.net ([10.13.107.66]) by FTLPIPO02.CITRIX.COM with ESMTP/TLS/RC4-MD5; 19 Mar 2012 07:37:48 -0400 Received: from ukmail1.uk.xensource.com (10.80.16.128) by smtprelay.citrix.com (10.13.107.66) with Microsoft SMTP Server id 8.3.213.0; Mon, 19 Mar 2012 07:37:48 -0400 Received: from kaball.uk.xensource.com ([10.80.2.59] helo=localhost.localdomain) by ukmail1.uk.xensource.com with esmtp (Exim 4.69) (envelope-from ) id 1S9auF-0003qU-1Z; Mon, 19 Mar 2012 11:37:43 +0000 From: Stefano Stabellini To: qemu-devel@nongnu.org Date: Mon, 19 Mar 2012 11:48:00 +0000 Message-ID: <1332157685-31701-1-git-send-email-stefano.stabellini@eu.citrix.com> X-Mailer: git-send-email 1.7.0.4 In-Reply-To: References: MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 66.165.176.63 Cc: xen-devel@lists.xensource.com, Stefano Stabellini , jan.kiszka@siemens.com, lcapitulino@redhat.com, avi@redhat.com, anthony@codemonkey.ws Subject: [Qemu-devel] [PATCH v8 1/6] cirrus_vga: do not reset videoram X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org There is no need to set the videoram to 0xff in cirrus_reset, because it is the BIOS' job. Signed-off-by: Stefano Stabellini Reviewed-by: Avi Kivity --- hw/cirrus_vga.c | 4 ---- 1 files changed, 0 insertions(+), 4 deletions(-) diff --git a/hw/cirrus_vga.c b/hw/cirrus_vga.c index 4edcb94..afedaa4 100644 --- a/hw/cirrus_vga.c +++ b/hw/cirrus_vga.c @@ -2767,10 +2767,6 @@ static void cirrus_reset(void *opaque) } s->vga.cr[0x27] = s->device_id; - /* Win2K seems to assume that the pattern buffer is at 0xff - initially ! */ - memset(s->vga.vram_ptr, 0xff, s->real_vram_size); - s->cirrus_hidden_dac_lockindex = 5; s->cirrus_hidden_dac_data = 0; }