VirtualBox

Changeset 7991 in vbox for trunk/src/VBox/Main


Ignore:
Timestamp:
Apr 15, 2008 1:51:19 PM (17 years ago)
Author:
vboxsync
Message:

Fixed PAE setting

Location:
trunk/src/VBox/Main
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/MachineImpl.cpp

    r7990 r7991  
    42974297            }
    42984298            /* PAE (optional, default is false) */
    4299             mHWData->mPAEEnabled = cpuNode.value <BOOL> ("PAE");
     4299            Key PAENode = cpuNode.findKey ("PAE");
     4300            if (!PAENode.isNull())
     4301            {
     4302                mHWData->mPAEEnabled = PAENode.value <bool> ("enabled");
     4303            }
    43004304        }
    43014305    }
     
    56555659                break;
    56565660        }
    5657         cpuNode.setStringValue ("enabled", value);
     5661        hwVirtExNode.setStringValue ("enabled", value);
    56585662
    56595663        /* PAE (optional, default is false) */
    5660         cpuNode.setValue <BOOL> ("PAE", mHWData->mPAEEnabled);
     5664        Key PAENode = cpuNode.createKey ("PAE");
     5665        PAENode.setValue <bool> ("enabled", mHWData->mPAEEnabled);
    56615666    }
    56625667
  • trunk/src/VBox/Main/xml/VirtualBox-settings-common.xsd

    r7990 r7991  
    407407</xsd:complexType>
    408408
     409<xsd:complexType name="TPAEType">
     410  <xsd:attribute name="enabled" type="xsd:boolean" default="false"/>
     411</xsd:complexType>
     412
    409413<xsd:complexType name="TCPU">
    410414  <xsd:sequence>
    411415    <xsd:element name="HardwareVirtEx" type="THWVirtExType" minOccurs="0"/>
    412     <xsd:element name="PAE" type="xsd:boolean" default="false"/>
     416    <xsd:element name="PAE" type="TPAEType" minOccurs="0"/>
    413417  </xsd:sequence>
    414418</xsd:complexType>
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