Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NCEWa-0006nh-0x for qemu-devel@nongnu.org; Sun, 22 Nov 2009 10:38:52 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NCEWV-0006lF-8Z for qemu-devel@nongnu.org; Sun, 22 Nov 2009 10:38:51 -0500 Received: from [199.232.76.173] (port=60270 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NCEWV-0006lA-4Z for qemu-devel@nongnu.org; Sun, 22 Nov 2009 10:38:47 -0500 Received: from qw-out-1920.google.com ([74.125.92.145]:50537) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NCEWU-0007Tz-Ra for qemu-devel@nongnu.org; Sun, 22 Nov 2009 10:38:46 -0500 Received: by qw-out-1920.google.com with SMTP id 5so970763qwc.4 for ; Sun, 22 Nov 2009 07:38:45 -0800 (PST) Date: Sun, 22 Nov 2009 10:38:42 -0500 From: Kevin O'Connor Subject: Re: [Qemu-devel] Re: POST failure (loop) with isapc and seabios Message-ID: <20091122153842.GA13491@morn.localdomain> References: <20091120225113.GD24539@morn.localdomain> <20091122123503.GH3193@redhat.com> <20091122151052.GK3193@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20091122151052.GK3193@redhat.com> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gleb Natapov Cc: qemu-devel@nongnu.org, Sebastian Herbszt On Sun, Nov 22, 2009 at 05:10:53PM +0200, Gleb Natapov wrote: > On Sun, Nov 22, 2009 at 04:07:56PM +0100, Sebastian Herbszt wrote: > > Gleb Natapov wrote: > > >May be make qemu to map it writable if isapc is specified. > > > > I don't think keeping the segment writable after POST is a good idea. > > > Isn't it writable now after POST with pcipc? Why this is not a good > idea? SeaBIOS and bochs bios will make the f-segment readonly at the end of post. See make_bios_readonly() in src/shadow.c. SeaBIOS' ram locking requires the same pci access that the unlocking needs, so if qemu made the f-segment writable on isa then it would remain writable past POST. -Kevin