Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NCGQK-0000My-IA for qemu-devel@nongnu.org; Sun, 22 Nov 2009 12:40:32 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NCGQH-0000JW-0L for qemu-devel@nongnu.org; Sun, 22 Nov 2009 12:40:32 -0500 Received: from [199.232.76.173] (port=42188 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NCGQG-0000JT-Q8 for qemu-devel@nongnu.org; Sun, 22 Nov 2009 12:40:28 -0500 Received: from mail-qy0-f194.google.com ([209.85.221.194]:57092) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NCGQG-0003JW-Gv for qemu-devel@nongnu.org; Sun, 22 Nov 2009 12:40:28 -0500 Received: by qyk32 with SMTP id 32so2269955qyk.4 for ; Sun, 22 Nov 2009 09:40:27 -0800 (PST) Date: Sun, 22 Nov 2009 12:40:24 -0500 From: Kevin O'Connor Subject: Re: [Qemu-devel] Re: POST failure (loop) with isapc and seabios Message-ID: <20091122174024.GD13491@morn.localdomain> References: <20091120225113.GD24539@morn.localdomain> <20091122123503.GH3193@redhat.com> <20091122151052.GK3193@redhat.com> <217FD12D88EA4AC2B2A32D77E010B16C@FSCPC> <20091122153809.GL3193@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20091122153809.GL3193@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:38:09PM +0200, Gleb Natapov wrote: > On Sun, Nov 22, 2009 at 04:31:24PM +0100, Sebastian Herbszt wrote: > > // Write protect bios memory. > > make_bios_readonly(); > Hmmm. How is tpr patching works then? It relies on ability of a guest to > write into BIOS memory region. Need to retest if it actually works I > guess. The last time I looked, the TPR patching backend forced the "vapic" pages to be writable (effectively overriding the bios decision to make it readonly). > > Bad things could happen if someone modifies the BIOS because it's unprotected > > (e.g. VM crash). I'm not sure why modification of the BIOS would cause a VM crash. If this is true, then a malicious guest could unlock the ram and write to it for the same effect. -Kevin