Changeset 30983 in vbox
- Timestamp:
- Jul 22, 2010 12:34:14 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/xml/Settings.cpp
r30976 r30983 529 529 case SettingsVersion_v1_8: 530 530 pcszVersion = "1.8"; 531 break;531 break; 532 532 533 533 case SettingsVersion_v1_9: 534 534 pcszVersion = "1.9"; 535 break;535 break; 536 536 537 537 case SettingsVersion_v1_10: 538 case SettingsVersion_Future: // can be set if this code runs on XML files that were created by a future version of VBox;539 // in that case, downgrade to current version when writing since we can't write future versions...540 538 pcszVersion = "1.10"; 539 break; 540 541 case SettingsVersion_v1_11: 542 pcszVersion = "1.11"; 543 break; 544 545 case SettingsVersion_Future: 546 // can be set if this code runs on XML files that were created by a future version of VBox; 547 // in that case, downgrade to current version when writing since we can't write future versions... 548 pcszVersion = "1.11"; 541 549 m->sv = SettingsVersion_v1_10; 542 550 break; … … 4199 4207 } 4200 4208 } 4201 // Check for non default I/O settings and bump the settings version.4209 // VirtualBox 3.2: Check for non default I/O settings and bump the settings version. 4202 4210 if (m->sv < SettingsVersion_v1_10) 4203 4211 { … … 4210 4218 // VirtualBox 3.2 adds support for VRDP video channel 4211 4219 if ( m->sv < SettingsVersion_v1_10 4212 && ( hardwareMachine.vrdpSettings.fVideoChannel 4220 && ( hardwareMachine.vrdpSettings.fVideoChannel 4221 ) 4222 ) 4223 m->sv = SettingsVersion_v1_10; 4224 4225 // VirtualBox 3.3 adds support for HD audio 4226 if ( m->sv < SettingsVersion_v1_11 4227 && ( hardwareMachine.audioAdapter.controllerType == AudioControllerType_HDA 4213 4228 ) 4214 4229 ) 4215 m->sv = SettingsVersion_v1_10; 4216 4230 m->sv = SettingsVersion_v1_11; 4217 4231 } 4218 4232
Note:
See TracChangeset
for help on using the changeset viewer.