From: Keir Fraser Subject: Re: VMX disabled by Feature Control MSR Date: Wed, 14 Jun 2006 13:47:22 +0100 Message-ID: References: <20060614134549.2b6e965d@localhost.localdomain> <20060614143502.0e7d2289@localhost.localdomain> Mime-Version: 1.0 (Apple Message framework v624) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20060614143502.0e7d2289@localhost.localdomain> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Guillaume Thouvenin Cc: LAURENT VIVIER , "xen-devel@lists.xensource.com" , JEAN-PIERRE DION List-Id: xen-devel@lists.xenproject.org On 14 Jun 2006, at 13:35, Guillaume Thouvenin wrote: > If the "VMX disabled..." message is displayed, it means that the lock > bit is set to 1. Otherwise we set bit2 to 1. If I try to clear it while > it is set it causes a general-protection fault. Is it possible to > modify > before Xen switches from real mode to protected mode? > > I will try to modify the arch/x86/boot/x86_64.S No, it's called a lock bit because it is sticky once set. The intention is presumably to allow OEMs an easy way (in their BIOS) to disable VMX on their systems if they don't want to have to support it. -- Keir