[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Xen-devel] [PATCH] vmwrite high 32 bits of 64bit VMCS fields when in PAE mode


  • To: "Keir Fraser" <keir@xxxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: "Li, Xin B" <xin.b.li@xxxxxxxxx>
  • Date: Wed, 11 Jul 2007 13:58:54 +0800
  • Delivery-date: Tue, 10 Jul 2007 22:57:10 -0700
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: AcfDCkCwwQ9aXwykSueQB++MWscE/AAEXrFvAAi6ut0AEEzy4A==
  • Thread-topic: [Xen-devel] [PATCH] vmwrite high 32 bits of 64bit VMCS fields when in PAE mode

>> 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.
>

So we need keep this mind for all data structures referenced by pointers
in a VMCS when on 32bit Xen, or maybe how about add a memory allocation
function wrapper for this purpose?
-Xin

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.