From: "Jan Beulich" Subject: Re: vmx & efer Date: Mon, 07 May 2007 11:08:25 +0100 Message-ID: <463F16B9.76E4.0078.0@novell.com> References: <463F060B.76E4.0078.0@novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org >>> Keir Fraser 07.05.07 11:00 >>> >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. >>=20 >> 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 Because it happens to sit in the vcpu structure? That's one more thing to remember when folding the Xen heap into the domain heap on x86-64 then. (I have to admit that I dislike all these hidden address range dependencies= .) >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. Jan