Changeset 24465 in vbox
- Timestamp:
- Nov 6, 2009 4:28:36 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/xml/Settings.cpp
r24456 r24465 1547 1547 if ((pelmCPUChild = pelmHwChild->findChildElement("HardwareVirtExVPID"))) 1548 1548 pelmCPUChild->getAttributeValue("enabled", hw.fVPID); 1549 if ((pelmCPUChild = pelmHwChild->findChildElement("PAE"))) 1549 1550 if (!(pelmCPUChild = pelmHwChild->findChildElement("PAE"))) 1551 { 1552 /* The default for pre 3.1 was false, so we must respect that. */ 1553 if (m->sv < SettingsVersion_v1_9) 1554 hw.fPAE = false; 1555 } 1556 else 1550 1557 pelmCPUChild->getAttributeValue("enabled", hw.fPAE); 1558 1551 1559 if ((pelmCPUChild = pelmHwChild->findChildElement("SyntheticCpu"))) 1552 1560 pelmCPUChild->getAttributeValue("enabled", hw.fSyntheticCpu); … … 2424 2432 pelmHwVirtEx->setAttribute("exclusive", hw.fHardwareVirtExclusive); 2425 2433 2426 if (hw.fNestedPaging) 2427 pelmCPU->createChild("HardwareVirtExNestedPaging")->setAttribute("enabled", hw.fNestedPaging); 2428 if (hw.fVPID) 2429 pelmCPU->createChild("HardwareVirtExVPID")->setAttribute("enabled", hw.fVPID); 2430 if (hw.fPAE) 2431 pelmCPU->createChild("PAE")->setAttribute("enabled", hw.fPAE); 2434 pelmCPU->createChild("HardwareVirtExNestedPaging")->setAttribute("enabled", hw.fNestedPaging); 2435 pelmCPU->createChild("HardwareVirtExVPID")->setAttribute("enabled", hw.fVPID); 2436 pelmCPU->createChild("PAE")->setAttribute("enabled", hw.fPAE); 2437 2432 2438 if (hw.fSyntheticCpu) 2433 2439 pelmCPU->createChild("SyntheticCpu")->setAttribute("enabled", hw.fSyntheticCpu);
Note:
See TracChangeset
for help on using the changeset viewer.