Changeset 70782 in vbox for trunk/src/VBox/VMM/VMMR0
- Timestamp:
- Jan 29, 2018 7:46:15 AM (7 years ago)
- svn:sync-xref-src-repo-rev:
- 120555
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HMSVMR0.cpp
r70781 r70782 2911 2911 Assert(CPUMIsGuestInSvmNestedHwVirtMode(pCtx)); 2912 2912 2913 bool fParavirtTsc; 2914 uint64_t uTscOffset; 2915 bool fCanUseRealTsc = TMCpuTickCanUseRealTSC(pVM, pVCpu, &uTscOffset, &fParavirtTsc); 2916 2913 bool fParavirtTsc; 2914 uint64_t uTscOffset; 2915 bool const fCanUseRealTsc = TMCpuTickCanUseRealTSC(pVM, pVCpu, &uTscOffset, &fParavirtTsc); 2916 2917 PSVMVMCBCTRL pVmcbNstGstCtrl = &pVmcbNstGst->ctrl; 2917 2918 PCSVMNESTEDVMCBCACHE pVmcbNstGstCache = &pVCpu->hm.s.svm.NstGstVmcbCache; 2918 PSVMVMCBCTRL pVmcbNstGstCtrl = &pVmcbNstGst->ctrl;2919 Assert(pCtx->hwvirt.svm.fHMCachedVmcb); 2919 2920 2920 2921 /* … … 2937 2938 2938 2939 /* Apply the nested-guest VMCB's TSC offset over the guest one. */ 2939 uTscOffset = CPUMApplyNestedGuestTscOffset(pVCpu, uTscOffset);2940 uTscOffset = HMSvmNstGstApplyTscOffset(pVCpu, uTscOffset); 2940 2941 2941 2942 /* Update the nested-guest VMCB with the combined TSC offset (of guest and nested-guest). */
Note:
See TracChangeset
for help on using the changeset viewer.