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 Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
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: xen-devel-bounces@lists.xensource.com [mailto:xen-devel-bounces@lists.xensource.com] On Behalf Of bo ma Sent: Friday, January 16, 2009 10:58 AM To: xen-devel@lists.xensource.com 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 Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
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: xen-devel-bounces@lists.xensource.com [mailto:xen-devel-bounces@lists.xensource.com] On Behalf Of bo ma Sent: 2009年1月16日 10:58 To: xen-devel@lists.xensource.com 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 Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel