Changeset 42173 in vbox for trunk/src/VBox/VMM/VMMR0
- Timestamp:
- Jul 17, 2012 10:15:18 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HWVMXR0.cpp
r42161 r42173 1372 1372 # endif 1373 1373 1374 if ( pVCpu->hwaccm.s.vmx.proc_ctls2 & VMX_VMCS_CTRL_PROC_EXEC2_RDTSCP)1375 {1376 Assert(u32HostExtFeatures & X86_CPUID_EXT_FEATURE_EDX_RDTSCP);1374 if ( (u32HostExtFeatures & X86_CPUID_EXT_FEATURE_EDX_RDTSCP) 1375 && pVCpu->hwaccm.s.vmx.proc_ctls2 & VMX_VMCS_CTRL_PROC_EXEC2_RDTSCP) 1376 { 1377 1377 pMsr->u32IndexMSR = MSR_K8_TSC_AUX; 1378 1378 pMsr->u32Reserved = 0; … … 2168 2168 } 2169 2169 2170 if ( pVCpu->hwaccm.s.vmx.proc_ctls2 & VMX_VMCS_CTRL_PROC_EXEC2_RDTSCP)2171 {2172 Assert(u32GstExtFeatures & X86_CPUID_EXT_FEATURE_EDX_RDTSCP);2170 if ( pVCpu->hwaccm.s.vmx.proc_ctls2 & VMX_VMCS_CTRL_PROC_EXEC2_RDTSCP 2171 && (u32GstExtFeatures & X86_CPUID_EXT_FEATURE_EDX_RDTSCP)) 2172 { 2173 2173 pMsr->u32IndexMSR = MSR_K8_TSC_AUX; 2174 2174 pMsr->u32Reserved = 0; … … 3971 3971 3972 3972 /* 3973 * 48 EPT violation. An attemp to access memory with a guest-physical address was disallowed3973 * 48 EPT violation. An attempt to access memory with a guest-physical address was disallowed 3974 3974 * by the configuration of the EPT paging structures. 3975 3975 */
Note:
See TracChangeset
for help on using the changeset viewer.