VirtualBox

Changeset 19746 in vbox


Ignore:
Timestamp:
May 15, 2009 3:58:19 PM (16 years ago)
Author:
vboxsync
Message:

Sync the entire REM state when changing VCPU

Location:
trunk/src/VBox/VMM
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/EM.cpp

    r19735 r19746  
    948948    /* Flush the recompiler TLB if the VCPU has changed. */
    949949    if (pVM->em.s.idLastRemCpu != pVCpu->idCpu)
     950    {
    950951        REMFlushTBs(pVM);
     952        /* Also sync the entire state. */
     953        CPUMSetChangedFlags(pVCpu, CPUM_CHANGED_ALL);
     954    }
     955
    951956    pVM->em.s.idLastRemCpu = pVCpu->idCpu;
    952957
  • trunk/src/VBox/VMM/VMMR0/HWVMXR0.cpp

    r19698 r19746  
    22812281        &&  VMX_EXIT_INTERRUPTION_INFO_TYPE(pVCpu->hwaccm.s.Event.intInfo) != VMX_EXIT_INTERRUPTION_INFO_TYPE_SWEXCPT)
    22822282    {
     2283        Assert(!pVCpu->hwaccm.s.Event.fPending);
    22832284        pVCpu->hwaccm.s.Event.fPending = true;
    22842285        /* Error code present? */
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