VirtualBox

Changeset 46718 in vbox


Ignore:
Timestamp:
Jun 21, 2013 9:28:16 AM (11 years ago)
Author:
vboxsync
Message:

VMM/HM: Updating context-flags unconditionally from ring-3 when it's shared with ring-0 causes trouble for SMP.
There's no need to do this with the new code either as we update the flags on longjmps, excursions to ring-3 as appropriate on the R0 exit routes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR3/HM.cpp

    r46706 r46718  
    26122612                &&  !pVM->hm.s.vmx.fUnrestrictedGuest)
    26132613            {
     2614#ifdef VBOX_WITH_OLD_VTX_CODE
    26142615                /** @todo   This should (probably) be set on every excursion to the REM,
    26152616                 *          however it's too risky right now. So, only apply it when we go
     
    26192620                for (uint32_t i = 0; i < pVM->cCpus; i++)
    26202621                    pVM->aCpus[i].hm.s.fContextUseFlags |= HM_CHANGED_ALL_GUEST;
     2622#endif
    26212623
    26222624                if (    !pVM->hm.s.fNestedPaging        /* requires a fake PD for real *and* protected mode without paging - stored in the VMM device heap */
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