Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755279AbWKMUjO (ORCPT ); Mon, 13 Nov 2006 15:39:14 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755281AbWKMUjN (ORCPT ); Mon, 13 Nov 2006 15:39:13 -0500 Received: from pentafluge.infradead.org ([213.146.154.40]:60065 "EHLO pentafluge.infradead.org") by vger.kernel.org with ESMTP id S1755279AbWKMUjM (ORCPT ); Mon, 13 Nov 2006 15:39:12 -0500 Subject: Re: overriding BIOS (was: Re: [ANNOUNCE] kvm howto) From: Arjan van de Ven To: Tomasz Torcz Cc: linux-kernel , kvm-devel@lists.sourceforge.net In-Reply-To: <20061113203421.GA5363@irc.pl> References: <20061105171424.GA7045@irc.pl> <64F9B87B6B770947A9F8391472E0321608EBF537@ehost011-8.exch011.intermedia.net> <20061113203421.GA5363@irc.pl> Content-Type: text/plain Organization: Intel International BV Date: Mon, 13 Nov 2006 21:39:05 +0100 Message-Id: <1163450346.15249.209.camel@laptopd505.fenrus.org> Mime-Version: 1.0 X-Mailer: Evolution 2.8.1.1 (2.8.1.1-3.fc6) Content-Transfer-Encoding: 7bit X-SRS-Rewrite: SMTP reverse-path rewritten from by pentafluge.infradead.org See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1121 Lines: 26 On Mon, 2006-11-13 at 21:34 +0100, Tomasz Torcz wrote: > On Mon, Nov 06, 2006 at 12:15:02AM -0800, Dor Laor wrote: > > The BIOS check is a must, it checks bit #0 of MSR_IA32_FEATURE_CONTROL, > > if it set this means that software cannot write to the MSR. If bit #2 is > > clear too then when executing vmxon you'll get #GP. > > > > So the check should better be there... > > You were right, just writing to this MSR (via kvm_enable) halts my laptop. > Which is kinda strange, as this solution works on Intel Mac Minis. > > Anyway, complaint to Lenovo sent and got ignored. > the linux-ready firmware developer kit now tries to test for this; with some luck the bios people will run this and fix it ;) -- if you want to mail me at work (you don't), use arjan (at) linux.intel.com Test the interaction between Linux and your BIOS via http://www.linuxfirmwarekit.org - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/