VirtualBox

Changeset 34957 in vbox


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

Recommit 68775

File:
1 edited

Legend:

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

    r34956 r34957  
    22972297    RTCCUINTREG uOldEFlags = ~(RTCCUINTREG)0;
    22982298    unsigned    cResume = 0;
     2299    PHWACCM_CPUINFO pCpu = HWACCMR0GetCurrentCpu();
    22992300#ifdef VBOX_STRICT
    23002301    RTCPUID     idCpuCheck;
     
    23062307
    23072308    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);
    23082310
    23092311    /* Check if we need to use TPR shadowing. */
     
    25752577        )
    25762578    {
    2577         PHWACCM_CPUINFO pCpu;
    2578 
    2579         pCpu = HWACCMR0GetCurrentCpu();
    25802579        if (    pVCpu->hwaccm.s.idLastCpu   != pCpu->idCpu
    25812580            ||  pVCpu->hwaccm.s.cTLBFlushes != pCpu->cTLBFlushes)
     
    26192618
    26202619    /* Load the guest state */
    2621     if (!pVCpu->hwaccm.s.fContextUseFlags)
     2620    if (    !pVCpu->hwaccm.s.fContextUseFlags
     2621        &&  pVCpu->hwaccm.s.idLastCpu == pCpu->idCpu)
    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