Changeset 22244 in vbox for trunk/src/VBox/VMM
- Timestamp:
- Aug 13, 2009 3:44:34 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HWSVMR0.cpp
r22243 r22244 910 910 /* Fall back to rdtsc emulation as we would otherwise pass decreasing tsc values to the guest. */ 911 911 Log(("TSC %RX64 offset %RX64 time=%RX64 last=%RX64 (diff=%RX64, virt_tsc=%RX64)\n", u64CurTSC, pVMCB->ctrl.u64TSCOffset, u64CurTSC + pVMCB->ctrl.u64TSCOffset, TMCpuTickGetLastSeen(pVCpu), TMCpuTickGetLastSeen(pVCpu) - u64CurTSC - pVMCB->ctrl.u64TSCOffset, TMCpuTickGet(pVCpu))); 912 pVMCB->ctrl.u32InterceptCtrl1 |= SVM_CTRL1_INTERCEPT_RDTSC; 913 pVMCB->ctrl.u32InterceptCtrl2 |= SVM_CTRL2_INTERCEPT_RDTSCP; 914 STAM_COUNTER_INC(&pVCpu->hwaccm.s.StatTSCInterceptOverFlow); 912 915 } 913 916 }
Note:
See TracChangeset
for help on using the changeset viewer.