Changeset 80455 in vbox
- Timestamp:
- Aug 28, 2019 4:31:47 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp
r80440 r80455 10467 10467 VMCPU_SET_STATE(pVCpu, VMCPUSTATE_STARTED_EXEC); 10468 10468 10469 PVMCC pVM= pVCpu->CTX_SUFF(pVM);10470 PVMXVMCSINFO pVmcsInfo= pVmxTransient->pVmcsInfo;10471 PHMPHYSCPU pHostCpu= hmR0GetCurrentCpu();10469 PVMCC pVM = pVCpu->CTX_SUFF(pVM); 10470 PVMXVMCSINFO pVmcsInfo = pVmxTransient->pVmcsInfo; 10471 PHMPHYSCPU pHostCpu = hmR0GetCurrentCpu(); 10472 10472 RTCPUID const idCurrentCpu = pHostCpu->idCpu; 10473 10473 … … 10552 10552 hmR0VmxFlushTaggedTlb(pHostCpu, pVCpu, pVmcsInfo); /* Invalidate the appropriate guest entries from the TLB. */ 10553 10553 Assert(idCurrentCpu == pVCpu->hm.s.idLastCpu); 10554 pVCpu->hm.s.vmx.LastError.idCurrentCpu = idCurrentCpu; /* Updatethe error reporting info. with the current host CPU. */10554 pVCpu->hm.s.vmx.LastError.idCurrentCpu = idCurrentCpu; /* Record the error reporting info. with the current host CPU. */ 10555 10555 pVmcsInfo->idHostCpuState = idCurrentCpu; /* Record the CPU for which the host-state has been exported. */ 10556 10556 pVmcsInfo->idHostCpuExec = idCurrentCpu; /* Record the CPU on which we shall execute. */ … … 10559 10559 10560 10560 TMNotifyStartOfExecution(pVM, pVCpu); /* Notify TM to resume its clocks when TSC is tied to execution, 10561 as we're about to start executing the guest 10561 as we're about to start executing the guest. */ 10562 10562 10563 10563 /* … … 10568 10568 * host CPU ticks till the next virtual sync deadline (for the dynamic case). 10569 10569 */ 10570 if ( 10570 if ( (pVmcsInfo->u32ProcCtls2 & VMX_PROC_CTLS2_RDTSCP) 10571 10571 && !fIsRdtscIntercepted) 10572 10572 {
Note:
See TracChangeset
for help on using the changeset viewer.