Skip to contentSkip to conversation

How to detect EPT by cpuid

DISCUSSION bo ma 3 participants 4 messages Jan 16, 2009 – Jan 17, 2009

lore
Share & tools
lore
#1 lore raw

It's not reported thru CPUID. And it's not easy to understand how it's detected in Xen by just reading the code, I suggest you to read Intel SDM (software development manual) 3B Appendix G. -Xin

From: [email protected] [mailto:[email protected]] On Behalf Of bo ma
Sent: Friday, January 16, 2009 10:58 AM
To: [email protected]
Subject: [Xen-devel] How to detect EPT by cpuid

Hi ,everyone

Could anyone tell me how to detect if the intel cpu can support EPT by cpuid instruction ?

Thanks in advance!

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#3 lore raw
In reply to bo ma

The support of EPT is not detected by CPUID but by the MSR IA32_VMX_PROCBASED_CTLS2. You can search for it in Intel SDM 3B, or check the vmx_init_vmcs_config() in Xen.

-- Dexuan

________________________________

From: [email protected] [mailto:[email protected]] On Behalf Of bo ma
Sent: 2009年1月16日 10:58
To: [email protected]
Subject: [Xen-devel] How to detect EPT by cpuid

Hi ,everyone

Could anyone tell me how to detect if the intel cpu can support EPT by cpuid instruction ?

Thanks in advance!

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel