From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MvvLq-0000GQ-At for qemu-devel@nongnu.org; Thu, 08 Oct 2009 11:56:23 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MvvLk-0008W6-LO for qemu-devel@nongnu.org; Thu, 08 Oct 2009 11:56:19 -0400 Received: from [199.232.76.173] (port=57382 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MvvLj-0008Vk-IR for qemu-devel@nongnu.org; Thu, 08 Oct 2009 11:56:15 -0400 Received: from mx1.redhat.com ([209.132.183.28]:64179) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MvvLi-0001dq-CO for qemu-devel@nongnu.org; Thu, 08 Oct 2009 11:56:14 -0400 Date: Thu, 8 Oct 2009 17:54:10 +0200 From: "Michael S. Tsirkin" Message-ID: <20091008155410.GC13660@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Subject: [Qemu-devel] [PATCHv2 0/4] qemu: cirrus reset-related fixes List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Avi Kivity Cc: Anthony Liguori , "qemu-devel@nongnu.org" , kvm-devel On Wed, Oct 07, 2009 at 10:20:19AM +0200, Avi Kivity wrote: >> Reset BARs and a couple of other registers on bus reset, as per PCI >> spec. >> > > This commit breaks Windows XP restart. After a restart Windows switches > from 800x600 cirrus logic vga to 640x480 standard vga. Reposting fom qemu tree now. So I just sent patches for pcbios and seabios to fix this. Once applied, reset works fine. Further, we can also fix PCI incompliancy in cirrus, disabling memory and i/o on reset. To apply these patches: - apply pcbios and seabios patches - generate binaries and commit - apply this patchset Michael S. Tsirkin (4): qemu: update pcbios to enable i/o for cirrus qemu: update seabios to enable i/o for cirrus qemu: make cirrus init value pci spec compliant qemu: cleanup unused macros in cirrus hw/cirrus_vga.c | 38 +------------------------------------- roms/pcbios | 2 +- roms/seabios | 2 +- 3 files changed, 3 insertions(+), 39 deletions(-) -- MST