Changeset 71565 in vbox for trunk/src/VBox/VMM
- Timestamp:
- Mar 29, 2018 11:48:10 AM (7 years ago)
- svn:sync-xref-src-repo-rev:
- 121545
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HMSVMR0.cpp
r71559 r71565 3031 3031 pVmcbNstGstCtrl->u64InterceptCtrl &= ~(SVM_CTRL_INTERCEPT_RDTSC | SVM_CTRL_INTERCEPT_RDTSCP); 3032 3032 STAM_COUNTER_INC(&pVCpu->hm.s.StatTscOffset); 3033 3034 /* Apply the nested-guest VMCB's TSC offset over the guest one. */ 3035 uTscOffset = HMSvmNstGstApplyTscOffset(pVCpu, uTscOffset); 3036 3037 /* Update the nested-guest VMCB with the combined TSC offset (of guest and nested-guest). */ 3038 pVmcbNstGstCtrl->u64TSCOffset = uTscOffset; 3033 3039 } 3034 3040 else … … 3037 3043 STAM_COUNTER_INC(&pVCpu->hm.s.StatTscIntercept); 3038 3044 } 3039 3040 /* Apply the nested-guest VMCB's TSC offset over the guest one. */3041 uTscOffset = HMSvmNstGstApplyTscOffset(pVCpu, uTscOffset);3042 3043 /* Update the nested-guest VMCB with the combined TSC offset (of guest and nested-guest). */3044 pVmcbNstGstCtrl->u64TSCOffset = uTscOffset;3045 3045 3046 3046 /* Finally update the VMCB clean bits since we touched the intercepts as well as the TSC offset. */
Note:
See TracChangeset
for help on using the changeset viewer.