WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [PATCH] vmwrite high 32 bits of 64bit VMCS fields when i

To: "Li, Xin B" <xin.b.li@xxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] vmwrite high 32 bits of 64bit VMCS fields when in PAE mode
From: Keir Fraser <keir@xxxxxxxxxxxxx>
Date: Tue, 10 Jul 2007 23:07:05 +0100
Delivery-date: Tue, 10 Jul 2007 15:01:46 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <C2B98704.123BD%keir@xxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcfDCkCwwQ9aXwykSueQB++MWscE/AAEXrFvAAi6ut0=
Thread-topic: [Xen-devel] [PATCH] vmwrite high 32 bits of 64bit VMCS fields when in PAE mode
User-agent: Microsoft-Entourage/11.3.3.061214
On 10/7/07 18:57, "Keir Fraser" <keir@xxxxxxxxxxxxx> wrote:

> Is this necessary? Writes to low halves clear top halves, and these data
> structures will always be below 4GB, right?
> 
> Are you just being super safe? :-)

Oh, furthermore with a 32-bit build of Xen we have to be safe for the case
that VMX_BASIC_MSR[48]==1 (which Vol 3B Appendix G.1 says is true for non
Intel64 CPUs like Yonah). In this case the physical pointers poked into the
VMCS are limited to 32 bits. We may as well limit all such structures to
below 4GB in all cases with a 32-bit build of Xen.

 -- Keir


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel