VirtualBox

Changeset 30983 in vbox


Ignore:
Timestamp:
Jul 22, 2010 12:34:14 PM (15 years ago)
Author:
vboxsync
Message:

Main: fixes to r63883

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/xml/Settings.cpp

    r30976 r30983  
    529529        case SettingsVersion_v1_8:
    530530            pcszVersion = "1.8";
    531         break;
     531            break;
    532532
    533533        case SettingsVersion_v1_9:
    534534            pcszVersion = "1.9";
    535         break;
     535            break;
    536536
    537537        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...
    540538            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";
    541549            m->sv = SettingsVersion_v1_10;
    542550        break;
     
    41994207        }
    42004208    }
    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.
    42024210    if (m->sv < SettingsVersion_v1_10)
    42034211    {
     
    42104218    // VirtualBox 3.2 adds support for VRDP video channel
    42114219    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
    42134228            )
    42144229       )
    4215         m->sv = SettingsVersion_v1_10;
    4216 
     4230        m->sv = SettingsVersion_v1_11;
    42174231}
    42184232
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette