Changeset 31468 in vbox for trunk/src/VBox/Main
- Timestamp:
- Aug 9, 2010 9:33:04 AM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 64550
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/xml/Settings.cpp
r31467 r31468 4210 4210 } 4211 4211 } 4212 4212 4213 if (m->sv < SettingsVersion_v1_10) 4213 4214 { 4214 4215 // VirtualBox 3.2: Check for non default I/O settings and bump the settings version. 4215 if ( hardwareMachine.ioSettings.fIoCacheEnabled != true 4216 || hardwareMachine.ioSettings.ulIoCacheSize != 5) 4216 if ( (hardwareMachine.ioSettings.fIoCacheEnabled != true) 4217 || (hardwareMachine.ioSettings.ulIoCacheSize != 5) 4218 // and VRDP video channel 4219 || (hardwareMachine.vrdpSettings.fVideoChannel) 4220 // and page fusion 4221 || (hardwareMachine.fPageFusionEnabled) 4222 // and CPU hotplug, RTC timezone control, HID type and HPET 4223 || fRTCUseUTC 4224 || hardwareMachine.fCpuHotPlug 4225 || hardwareMachine.pointingHidType != PointingHidType_PS2Mouse 4226 || hardwareMachine.keyboardHidType != KeyboardHidType_PS2Keyboard 4227 || hardwareMachine.fHpetEnabled 4228 ) 4217 4229 m->sv = SettingsVersion_v1_10; 4218 4219 // VirtualBox 3.2 adds support for VRDP video channel 4220 else if (hardwareMachine.vrdpSettings.fVideoChannel) 4221 m->sv = SettingsVersion_v1_10; 4222 } 4223 4224 // VirtualBox 3.2 adds support for page fusion 4225 if ( m->sv < SettingsVersion_v1_10 4226 && hardwareMachine.fPageFusionEnabled 4227 ) 4228 m->sv = SettingsVersion_v1_10; 4229 4230 // VirtualBox 3.2 adds support for CPU hotplug, RTC timezone control, HID type and HPET 4231 if ( m->sv < SettingsVersion_v1_10 4232 && ( fRTCUseUTC 4233 || hardwareMachine.fCpuHotPlug 4234 || hardwareMachine.pointingHidType != PointingHidType_PS2Mouse 4235 || hardwareMachine.keyboardHidType != KeyboardHidType_PS2Keyboard 4236 || hardwareMachine.fHpetEnabled 4237 ) 4238 ) 4239 m->sv = SettingsVersion_v1_10; 4240 4241 // settings version 1.9 is also required if there is not exactly one DVD 4230 } 4231 4232 // settings version 1.9 is required if there is not exactly one DVD 4242 4233 // or more than one floppy drive present or the DVD is not at the secondary 4243 4234 // master; this check is a bit more complicated
Note:
See TracChangeset
for help on using the changeset viewer.