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

RE: [Xen-devel] [Patch] Disallow SMEP for PV guest



> On Wed, Jun 01, 2011 at 10:31:12PM +0800, Yang, Wei Y wrote:
> > This patch disallows SMEP for PV guest.
> 
> What are the reasons for it? What do we gain from it?

X86_64 pv guests runs in ring3, which SMEP doesn't apply to.

Kernel supports SMEP will set it thru writing to CR4, probably we can silently 
ignore such writes from PV guests, but better to not let guest see it.

Thanks!
-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®.