Changeset 31293 in vbox for trunk/src/VBox/Main/xml/Settings.cpp
- Timestamp:
- Aug 2, 2010 12:39:48 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/xml/Settings.cpp
r31292 r31293 4227 4227 } 4228 4228 } 4229 // VirtualBox 3.2: Check for non default I/O settings and bump the settings version.4230 if (m->sv < SettingsVersion_v1_11)4231 {4229 if (m->sv < SettingsVersion_v1_10) 4230 { 4231 // VirtualBox 3.2: Check for non default I/O settings and bump the settings version. 4232 4232 if ( hardwareMachine.ioSettings.fIoCacheEnabled != true 4233 4233 || hardwareMachine.ioSettings.ulIoCacheSize != 5) 4234 4234 m->sv = SettingsVersion_v1_10; 4235 } 4236 4237 // VirtualBox 3.2 adds support for VRDP video channel 4238 if ( m->sv < SettingsVersion_v1_11 4239 && ( hardwareMachine.vrdpSettings.fVideoChannel 4240 ) 4241 ) 4242 m->sv = SettingsVersion_v1_10; 4243 4244 // VirtualBox 3.3 adds support for HD audio 4245 if ( m->sv < SettingsVersion_v1_11 4246 && ( hardwareMachine.audioAdapter.controllerType == AudioControllerType_HDA 4247 ) 4248 ) 4249 m->sv = SettingsVersion_v1_11; 4250 4251 // VirtualBox 3.3 adds support for CPU priority 4252 if ( m->sv < SettingsVersion_v1_11 4253 && ( hardwareMachine.ulCpuPriority != 100 4254 ) 4255 ) 4256 m->sv = SettingsVersion_v1_11; 4235 4236 // VirtualBox 3.2 adds support for VRDP video channel 4237 if (hardwareMachine.vrdpSettings.fVideoChannel) 4238 m->sv = SettingsVersion_v1_10; 4239 } 4240 4241 if (m->sv < SettingsVersion_v1_11) 4242 { 4243 // VirtualBox 3.3 adds support for HD audio 4244 if (hardwareMachine.audioAdapter.controllerType == AudioControllerType_HDA) 4245 m->sv = SettingsVersion_v1_11; 4246 4247 // VirtualBox 3.3 adds support for CPU priority 4248 if (hardwareMachine.ulCpuPriority != 100) 4249 m->sv = SettingsVersion_v1_11; 4250 } 4257 4251 } 4258 4252
Note:
See TracChangeset
for help on using the changeset viewer.