VirtualBox

Changeset 7993 in vbox


Ignore:
Timestamp:
Apr 15, 2008 2:08:02 PM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
29647
Message:

Changed warning for PAE. Must also pause the machine before reporting a fatal error.

File:
1 edited

Legend:

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

    r7949 r7993  
    29112911        //case PGMMODE_PAE_NX:
    29122912        case PGMMODE_PAE:
    2913             if (!HWACCMIsEnabled(pVM))
     2913        {
     2914            uint32_t u32Dummy, u32ExtFeatures;
     2915
     2916            CPUMGetGuestCpuId(pVM, 1, &u32Dummy, &u32Dummy, &u32Dummy, &u32ExtFeatures);
     2917            if (!(u32ExtFeatures & X86_CPUID_FEATURE_EDX_PAE))
    29142918            {
    2915                 VMSetRuntimeError(pVM, true, "PAEmodeDependsHwaccm",
    2916                                   N_("The guest is trying to switch to the PAE mode which is currently supported by VirtualBox only in VT-x mode or AMD-V mode. Either enable hardware virtualization for this VM or choose another flavour of the guest kernel (install a desktop kernel instead of a server kernel)"));
     2919                /* Pause first, then inform Main. */
     2920                rc = VMR3SuspendNoSave(pVM);
     2921                AssertRC(rc);
     2922
     2923                VMSetRuntimeError(pVM, true, "PAEmode",
     2924                                  N_("The guest is trying to switch to the PAE mode which is currently disabled by default in VirtualBox. Experimental PAE support can be enabled using the -pae option with VBoxManage."));
    29172925                /* we must return TRUE here otherwise the recompiler will assert */
    29182926                return VINF_SUCCESS;
     
    29332941            }
    29342942            break;
     2943        }
    29352944
    29362945        //case PGMMODE_AMD64_NX:
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette