VirtualBox

Changeset 7982 in vbox for trunk/src/VBox/VMM/CPUM.cpp


Ignore:
Timestamp:
Apr 15, 2008 12:32:02 PM (17 years ago)
Author:
vboxsync
Message:

Added setting for guest PAE (default off)

File:
1 edited

Legend:

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

    r7977 r7982  
    407407
    408408    /* Check if PAE was explicitely enabled by the user. */
    409     PCFGMNODE pNode = CFGMR3GetChildF(CFGMR3GetRoot(pVM), "CPUM/CPUID");
    410     if (pNode)
    411     {
    412         bool fEnable;
    413         int rc = CFGMR3QueryBool(pNode, "EnablePAE", &fEnable);
    414         if (VBOX_SUCCESS(rc) && fEnable)
    415             CPUMSetGuestCpuIdFeature(pVM, CPUMCPUIDFEATURE_PAE);
    416     }
     409    bool fEnable = false;
     410    int rc = CFGMR3QueryBool(CFGMR3GetRoot(pVM), "EnablePAE", &fEnable);
     411    if (VBOX_SUCCESS(rc) && fEnable)
     412        CPUMSetGuestCpuIdFeature(pVM, CPUMCPUIDFEATURE_PAE);
    417413
    418414    /*
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