VirtualBox

Changeset 9981 in vbox


Ignore:
Timestamp:
Jun 27, 2008 8:39:23 AM (17 years ago)
Author:
vboxsync
Message:

Always switch the PGM mode when we're using VT-x/AMD-v

File:
1 edited

Legend:

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

    r9980 r9981  
    27782778         *
    27792779         * During pgmR3InitPaging we'll end up here with PGMMODE_INVALID
    2780          * and is supposed to determin which shadow paging and switcher to
     2780         * and is supposed to determine which shadow paging and switcher to
    27812781         * use during init.
    27822782         */
    27832783        case PGMMODE_REAL:
    27842784        case PGMMODE_PROTECTED:
    2785             if (enmShadowMode != PGMMODE_INVALID)
     2785            if (    enmShadowMode != PGMMODE_INVALID
     2786                && !HWACCMIsEnabled(pVM) /* always switch in hwaccm mode! */)
    27862787                break; /* (no change) */
     2788
    27872789            switch (enmHostMode)
    27882790            {
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