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

Re: [Xen-devel] [PATCH][VT] No DISALLOW pte bit check for VMX domain




On 12 Sep 2005, at 08:05, Li, Chengyuan wrote:

Hi,

VMX domain don't need DISALLOW pte bit checking.

Signed-off-by: Chengyuan Li <chengyuan.li@xxxxxxxxx>      

I think they do need these checks. get_page_from_l1e() is only called on real pagetables, even in shadow mode (i.e., it is called for the shadow pte's). We still want to check that the guest isn't trying to set weird PAT values or, if it is, we need to deal with those explicitly. For now, I think the correct think to do is to apply L1_DISALLOW_MASK before calling get_page_from_l1e(). You already strip off the GLOBAL bit, but the rest should be stripped also.

 -- Keir


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