VirtualBox

Changeset 9985 in vbox for trunk/src/VBox/VMM


Ignore:
Timestamp:
Jun 27, 2008 10:12:35 AM (16 years ago)
Author:
vboxsync
Message:

Relax the requirement for VT-x when in 64 bits mode.

File:
1 edited

Legend:

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

    r9939 r9985  
    643643    /** @note The context supplied by REM is partial. If we add more checks here, be sure to verify that REM provides this info! */
    644644
    645 #ifndef HWACCM_VMX_EMULATE_ALL
    646     /* Too early for VT-x; Solaris guests will fail with a guru meditation otherwise (investigate!) */
    647     if (pCtx->idtr.pIdt == 0 || pCtx->idtr.cbIdt == 0 || pCtx->tr == 0)
    648         return false;
    649 #endif
     645    if (!CPUMIsGuestInLongMode(pVM))
     646    {
     647        /* Too early for VT-x; Solaris guests will fail with a guru meditation otherwise; same for XP. */
     648        if (pCtx->idtr.pIdt == 0 || pCtx->idtr.cbIdt == 0 || pCtx->tr == 0)
     649            return false;
     650    }
    650651
    651652    /* The guest is about to complete the switch to protected mode. Wait a bit longer. */
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