From: Keir Fraser Subject: Re: vmx & efer Date: Mon, 07 May 2007 10:00:30 +0100 Message-ID: References: <463F060B.76E4.0078.0@novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <463F060B.76E4.0078.0@novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jan Beulich , Jun Nakajima Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 7/5/07 09:57, "Jan Beulich" wrote: >> You seem to be assuming that if the hypervisor executes with 4-level >> pagetables then so must all VMX guests. This isn't true. A VMX VCPU running >> in 32-bit mode (PAE or not) will execute with 3-level pagetables when >> running on x86/64 Xen. > > Oh, okay, I didn't realize that. That makes things look consistent again, as > long > as you are saying that in this mode the physical CR3 continues to be a 64-bit > register? That I'm not sure about. We always ensure the shadow PAE CR3 is in low 4GB, so we don't have to worry about this. I guess it depends whether PAE CR3 is 32-bit because of microarchitectural assumptions, or merely because in 32-bit mode there is no way to write more than 32 bits to a control register. -- Keir