VirtualBox

Changeset 23983 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Oct 22, 2009 1:49:41 PM (15 years ago)
Author:
vboxsync
Message:

Must flush all contexts when restarting with asid 1

File:
1 edited

Legend:

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

    r23977 r23983  
    21942194            pCpu->uCurrentASID               = 1;       /* start at 1; host uses 0 */
    21952195            pCpu->cTLBFlushes++;
     2196            vmxR0FlushVPID(pVM, pVCpu, VMX_FLUSH_ALL_CONTEXTS, 0);
    21962197        }
    21972198        else
    2198         {
    21992199            STAM_COUNTER_INC(&pVCpu->hwaccm.s.StatFlushASID);
    2200             pVCpu->hwaccm.s.fForceTLBFlush     = false;
    2201         }
    2202 
    2203         pVCpu->hwaccm.s.cTLBFlushes  = pCpu->cTLBFlushes;
    2204         pVCpu->hwaccm.s.uCurrentASID = pCpu->uCurrentASID;
     2200
     2201        pVCpu->hwaccm.s.fForceTLBFlush = false;
     2202        pVCpu->hwaccm.s.cTLBFlushes    = pCpu->cTLBFlushes;
     2203        pVCpu->hwaccm.s.uCurrentASID   = pCpu->uCurrentASID;
    22052204    }
    22062205    else
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