VirtualBox

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


Ignore:
Timestamp:
Apr 17, 2008 2:58:10 PM (17 years ago)
Author:
vboxsync
Message:

Refuse to activate PAE mode when the host is using 32 bits paging.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/CPUMAllRegs.cpp

    r7730 r8106  
    2727#include "CPUMInternal.h"
    2828#include <VBox/vm.h>
     29#include <VBox/pgm.h>
    2930#include <VBox/err.h>
    3031#include <VBox/dis.h>
     
    10311032            if (!(ASMCpuId_EDX(1) & X86_CPUID_FEATURE_EDX_PAE))
    10321033            {
    1033                 AssertMsgFailed(("ERROR: Can't turn on PAE when the host doesn't support it!!\n"));
     1034                LogRel(("WARNING: Can't turn on PAE when the host doesn't support it!!\n"));
     1035                return;
     1036            }
     1037            if (PGMGetShadowMode(pVM) <= PGMMODE_32_BIT)
     1038            {
     1039                LogRel(("WARNING: Can't turn on PAE when the host is in 32 bits paging mode!!\n"));
    10341040                return;
    10351041            }
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