VirtualBox

Changeset 34958 in vbox


Ignore:
Timestamp:
Dec 10, 2010 3:08:31 PM (14 years ago)
Author:
vboxsync
Message:

Backed out 68777: previous code was safe

File:
1 edited

Legend:

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

    r34957 r34958  
    22972297    RTCCUINTREG uOldEFlags = ~(RTCCUINTREG)0;
    22982298    unsigned    cResume = 0;
    2299     PHWACCM_CPUINFO pCpu = HWACCMR0GetCurrentCpu();
    23002299#ifdef VBOX_STRICT
    23012300    RTCPUID     idCpuCheck;
     
    23072306
    23082307    Assert(!(pVM->hwaccm.s.vmx.msr.vmx_proc_ctls2.n.allowed1 & VMX_VMCS_CTRL_PROC_EXEC2_VIRT_APIC) || (pVCpu->hwaccm.s.vmx.pVAPIC && pVM->hwaccm.s.vmx.pAPIC));
    2309     AssertReturn(pCpu, VERR_INTERNAL_ERROR);
    23102308
    23112309    /* Check if we need to use TPR shadowing. */
     
    25772575        )
    25782576    {
     2577        PHWACCM_CPUINFO pCpu;
     2578
     2579        pCpu = HWACCMR0GetCurrentCpu();
    25792580        if (    pVCpu->hwaccm.s.idLastCpu   != pCpu->idCpu
    25802581            ||  pVCpu->hwaccm.s.cTLBFlushes != pCpu->cTLBFlushes)
     
    26182619
    26192620    /* Load the guest state */
    2620     if (    !pVCpu->hwaccm.s.fContextUseFlags
    2621         &&  pVCpu->hwaccm.s.idLastCpu == pCpu->idCpu)
     2621    if (!pVCpu->hwaccm.s.fContextUseFlags)
    26222622    {
    26232623        VMXR0LoadMinimalGuestState(pVM, pVCpu, pCtx);
Note: See TracChangeset for help on using the changeset viewer.

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