Changeset 71692 in vbox for trunk/src/VBox/VMM
- Timestamp:
- Apr 6, 2018 7:26:02 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HMSVMR0.cpp
r71565 r71692 895 895 bool const fPauseFilter = RT_BOOL(pVM->hm.s.svm.u32Features & X86_CPUID_SVM_FEATURE_EDX_PAUSE_FILTER); 896 896 bool const fPauseFilterThreshold = RT_BOOL(pVM->hm.s.svm.u32Features & X86_CPUID_SVM_FEATURE_EDX_PAUSE_FILTER_THRESHOLD); 897 bool const fUsePauseFilter = fPauseFilter && pVM->hm.s.svm.cPauseFilter && pVM->hm.s.svm.cPauseFilterThresholdTicks;897 bool const fUsePauseFilter = fPauseFilter && pVM->hm.s.svm.cPauseFilter; 898 898 899 899 bool const fLbrVirt = RT_BOOL(pVM->hm.s.svm.u32Features & X86_CPUID_SVM_FEATURE_EDX_LBR_VIRT); … … 1038 1038 if (fPauseFilterThreshold) 1039 1039 pVmcb->ctrl.u16PauseFilterThreshold = pVM->hm.s.svm.cPauseFilterThresholdTicks; 1040 pVmcb->ctrl.u32InterceptXcpt |= SVM_CTRL_INTERCEPT_PAUSE; 1040 1041 } 1041 1042 … … 7311 7312 HMSVM_VALIDATE_EXIT_HANDLER_PARAMS(); 7312 7313 STAM_COUNTER_INC(&pVCpu->hm.s.StatExitPause); 7314 hmR0SvmAdvanceRipHwAssist(pVCpu, pCtx, 2); 7313 7315 return VINF_EM_RAW_INTERRUPT; 7314 7316 }
Note:
See TracChangeset
for help on using the changeset viewer.