Changeset 26459 in vbox for trunk/src/VBox/Main/xml
- Timestamp:
- Feb 12, 2010 11:42:36 AM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 57608
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/xml/Settings.cpp
r26444 r26459 1466 1466 cCPUs(1), 1467 1467 fCpuHotPlug(false), 1468 fHpetEnabled(false), 1468 1469 ulMemorySizeMB((uint32_t)-1), 1469 1470 ulVRAMSizeMB(8), … … 1509 1510 && (cCPUs == h.cCPUs) 1510 1511 && (fCpuHotPlug == h.fCpuHotPlug) 1512 && (fHpetEnabled == h.fHpetEnabled) 1511 1513 && (llCpus == h.llCpus) 1512 1514 && (llCpuIdLeafs == h.llCpuIdLeafs) … … 2093 2095 } 2094 2096 } 2097 else if (pelmHwChild->nameEquals("HPET")) 2098 { 2099 pelmHwChild->getAttributeValue("enabled", hw.fHpetEnabled); 2100 } 2095 2101 else if (pelmHwChild->nameEquals("Boot")) 2096 2102 { … … 2987 2993 } 2988 2994 2995 if ( (m->sv >= SettingsVersion_v1_10) 2996 ) 2997 { 2998 xml::ElementNode *pelmHpet = pelmHardware->createChild("HPET"); 2999 pelmHpet->setAttribute("enabled", hw.fHpetEnabled); 3000 } 3001 2989 3002 xml::ElementNode *pelmBoot = pelmHardware->createChild("Boot"); 2990 3003 for (BootOrderMap::const_iterator it = hw.mapBootOrder.begin(); … … 3556 3569 } 3557 3570 3571 // VirtualBox 3.2 adds support for CPU hotplug, RTC timezone control, HID type and HPET 3558 3572 if ( m->sv < SettingsVersion_v1_10 3559 3573 && ( fRTCUseUTC … … 3561 3575 || hardwareMachine.pointingHidType != PointingHidType_PS2Mouse 3562 3576 || hardwareMachine.keyboardHidType != KeyboardHidType_PS2Keyboard 3577 || hardwareMachine.fHpetEnabled 3563 3578 ) 3564 3579 )
Note:
See TracChangeset
for help on using the changeset viewer.