VirtualBox

Ignore:
Timestamp:
Apr 20, 2009 3:03:08 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
46143
Message:

Split TM for SMP guests.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR0/HWVMXR0.cpp

    r19015 r19032  
    16001600    uint64_t u64TSCOffset;
    16011601
    1602     if (TMCpuTickCanUseRealTSC(pVM, &u64TSCOffset))
     1602    if (TMCpuTickCanUseRealTSC(pVCpu, &u64TSCOffset))
    16031603    {
    16041604        /* Note: VMX_VMCS_CTRL_PROC_EXEC_CONTROLS_RDTSC_EXIT takes precedence over TSC_OFFSET */
     
    21922192#endif
    21932193
    2194     TMNotifyStartOfExecution(pVM);
     2194    TMNotifyStartOfExecution(pVCpu);
    21952195    rc = pVCpu->hwaccm.s.vmx.pfnStartVM(pVCpu->hwaccm.s.fResumeVM, pCtx, &pVCpu->hwaccm.s.vmx.VMCSCache, pVM, pVCpu);
    2196     TMNotifyEndOfExecution(pVM);
     2196    TMNotifyEndOfExecution(pVCpu);
    21972197
    21982198    AssertMsg(!pVCpu->hwaccm.s.vmx.VMCSCache.Write.cValidEntries, ("pVCpu->hwaccm.s.vmx.VMCSCache.Write.cValidEntries=%d\n", pVCpu->hwaccm.s.vmx.VMCSCache.Write.cValidEntries));
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette