From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NCdKe-00061X-O6 for qemu-devel@nongnu.org; Mon, 23 Nov 2009 13:08:12 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NCdKY-0005un-Mx for qemu-devel@nongnu.org; Mon, 23 Nov 2009 13:08:11 -0500 Received: from [199.232.76.173] (port=60295 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NCdKY-0005uK-8t for qemu-devel@nongnu.org; Mon, 23 Nov 2009 13:08:06 -0500 Received: from mx1.redhat.com ([209.132.183.28]:39018) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NCdKX-0006YC-9B for qemu-devel@nongnu.org; Mon, 23 Nov 2009 13:08:05 -0500 Date: Mon, 23 Nov 2009 20:07:59 +0200 From: Gleb Natapov Subject: Re: [Qemu-devel] Re: POST failure (loop) with isapc and seabios Message-ID: <20091123180759.GA10115@redhat.com> References: <20091120225113.GD24539@morn.localdomain> <20091122123503.GH3193@redhat.com> <20091122151052.GK3193@redhat.com> <20091122153842.GA13491@morn.localdomain> <20091123111601.GH2999@redhat.com> <17CE86C19414401F869FD85A63BF1250@FSCPC> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <17CE86C19414401F869FD85A63BF1250@FSCPC> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Sebastian Herbszt Cc: Kevin O'Connor , qemu-devel@nongnu.org On Mon, Nov 23, 2009 at 06:57:47PM +0100, Sebastian Herbszt wrote: > Gleb Natapov wrote: > >On Sun, Nov 22, 2009 at 10:38:42AM -0500, Kevin O'Connor wrote: > >>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. > >> > >I see SeaBIOS does this, but I don't see where bochs bios does this. > > bios_lock_shadow_ram() in rombio32.c. > This functions is called far from end of the post and it doesn't change mapping to be read only as far as I can see. -- Gleb.