From mboxrd@z Thu Jan 1 00:00:00 1970 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 From: Stefano Stabellini Date: Mon, 19 Mar 2012 11:48:00 +0000 Message-ID: <1332157685-31701-1-git-send-email-stefano.stabellini@eu.citrix.com> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain Subject: [Qemu-devel] [PATCH v8 1/6] cirrus_vga: do not reset videoram List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: xen-devel@lists.xensource.com, Stefano Stabellini , jan.kiszka@siemens.com, lcapitulino@redhat.com, avi@redhat.com, anthony@codemonkey.ws 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; } -- 1.7.2.5