From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755264AbWKMUel (ORCPT ); Mon, 13 Nov 2006 15:34:41 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755279AbWKMUel (ORCPT ); Mon, 13 Nov 2006 15:34:41 -0500 Received: from nsm.pl ([195.34.211.229]:37573 "EHLO nsm.pl") by vger.kernel.org with ESMTP id S1755264AbWKMUek (ORCPT ); Mon, 13 Nov 2006 15:34:40 -0500 Date: Mon, 13 Nov 2006 21:34:21 +0100 From: Tomasz Torcz To: linux-kernel Cc: kvm-devel@lists.sourceforge.net Subject: overriding BIOS (was: Re: [ANNOUNCE] kvm howto) Message-ID: <20061113203421.GA5363@irc.pl> Mail-Followup-To: linux-kernel , kvm-devel@lists.sourceforge.net References: <20061105171424.GA7045@irc.pl> <64F9B87B6B770947A9F8391472E0321608EBF537@ehost011-8.exch011.intermedia.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="fdj2RfSjLxBAspz7" Content-Disposition: inline In-Reply-To: <64F9B87B6B770947A9F8391472E0321608EBF537@ehost011-8.exch011.intermedia.net> User-Agent: Mutt/1.5.11 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org --fdj2RfSjLxBAspz7 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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. >=20 > 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. --=20 Tomasz Torcz ,,(...) today's high-end is tomorrow's embedded processo= r.'' zdzichu@irc.-nie.spam-.pl -- Mitchell Blank on LKML --fdj2RfSjLxBAspz7 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: gpg --search-keys Tomasz Torcz iD8DBQFFWNbN10UJr+75NrkRAiRpAJ9ty7lPXEGB2fozU0guHnYjlUWLJwCgj5X4 or3+JkxSDoLaACGrV6ale3k= =U77b -----END PGP SIGNATURE----- --fdj2RfSjLxBAspz7-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tomasz Torcz Subject: overriding BIOS (was: Re: [ANNOUNCE] kvm howto) Date: Mon, 13 Nov 2006 21:34:21 +0100 Message-ID: <20061113203421.GA5363@irc.pl> References: <20061105171424.GA7045@irc.pl> <64F9B87B6B770947A9F8391472E0321608EBF537@ehost011-8.exch011.intermedia.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1882080754==" Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Return-path: To: linux-kernel In-Reply-To: <64F9B87B6B770947A9F8391472E0321608EBF537-yEcIvxbTEBqsx+V+t5oei8rau4O3wl8o3fe8/T/H7NteoWH0uzbU5w@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.org --===============1882080754== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="fdj2RfSjLxBAspz7" Content-Disposition: inline --fdj2RfSjLxBAspz7 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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. >=20 > 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. --=20 Tomasz Torcz ,,(...) today's high-end is tomorrow's embedded processo= r.'' zdzichu@irc.-nie.spam-.pl -- Mitchell Blank on LKML --fdj2RfSjLxBAspz7 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: gpg --search-keys Tomasz Torcz iD8DBQFFWNbN10UJr+75NrkRAiRpAJ9ty7lPXEGB2fozU0guHnYjlUWLJwCgj5X4 or3+JkxSDoLaACGrV6ale3k= =U77b -----END PGP SIGNATURE----- --fdj2RfSjLxBAspz7-- --===============1882080754== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 --===============1882080754== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ kvm-devel mailing list kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org https://lists.sourceforge.net/lists/listinfo/kvm-devel --===============1882080754==--