VirtualBox

Changeset 38326 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Aug 5, 2011 2:35:08 PM (13 years ago)
Author:
vboxsync
Message:

EM,REM: Make the EM execution scheduling policies apply to HM as well.

File:
1 edited

Legend:

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

    r38325 r38326  
    608608        {
    609609            case EMEXECPOLICY_RECOMPILE_RING0:
    610                 pVM->fRecompileSupervisor = !pArgs->fEnforce;
     610                pVM->fRecompileSupervisor = pArgs->fEnforce;
    611611                break;
    612612            case EMEXECPOLICY_RECOMPILE_RING3:
     
    11521152    if (HWACCMIsEnabled(pVM))
    11531153    {
    1154         /* Hardware accelerated raw-mode:
     1154        /*
     1155         * Hardware accelerated raw-mode:
    11551156         *
    1156          * Typically only 32-bits protected mode, with paging enabled, code is allowed here.
    1157          */
    1158         if (HWACCMR3CanExecuteGuest(pVM, pCtx) == true)
     1157         * Typically only 32-bits protected mode, with paging enabled, code is
     1158         * allowed here.
     1159         */
     1160        if (   EMIsHwVirtExecutionEnabled(pVM)
     1161            && HWACCMR3CanExecuteGuest(pVM, pCtx))
    11591162            return EMSTATE_HWACC;
    11601163
    1161         /* Note: Raw mode and hw accelerated mode are incompatible. The latter turns
    1162          * off monitoring features essential for raw mode! */
     1164        /*
     1165         * Note! Raw mode and hw accelerated mode are incompatible. The latter
     1166         *       turns off monitoring features essential for raw mode!
     1167         */
    11631168        return EMSTATE_REM;
    11641169    }
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