Changeset 30286 in vbox
- Timestamp:
- Jun 17, 2010 2:55:21 PM (14 years ago)
- File:
-
- 1 edited
-
trunk/src/VBox/Main/xml/Settings.cpp (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/xml/Settings.cpp
r29873 r30286 3941 3941 // or more than one floppy drive present or the DVD is not at the secondary 3942 3942 // master; this check is a bit more complicated 3943 if (m->sv < SettingsVersion_v1_9) 3943 // 3944 // settings version 1.10 is required if the host cache should be disabled 3945 if (m->sv < SettingsVersion_v1_10) 3944 3946 { 3945 3947 size_t cDVDs = 0; … … 3948 3950 // need to run thru all the storage controllers to figure this out 3949 3951 for (StorageControllersList::const_iterator it = storageMachine.llStorageControllers.begin(); 3950 it != storageMachine.llStorageControllers.end() 3951 && m->sv < SettingsVersion_v1_9; 3952 it != storageMachine.llStorageControllers.end(); 3952 3953 ++it) 3953 3954 { … … 3957 3958 ++it2) 3958 3959 { 3959 if (sctl.ulInstance != 0) // we can only write the StorageController/@Instance attribute with v1.9 3960 // we can only write the StorageController/@Instance attribute with v1.9 3961 if (sctl.ulInstance != 0) 3960 3962 { 3961 m->sv = SettingsVersion_v1_9;3962 break;3963 if (m->sv < SettingsVersion_v1_9) 3964 m->sv = SettingsVersion_v1_9; 3963 3965 } 3964 3966 … … 3971 3973 ) 3972 3974 { 3973 m->sv = SettingsVersion_v1_9;3974 break;3975 if (m->sv < SettingsVersion_v1_9) 3976 m->sv = SettingsVersion_v1_9; 3975 3977 } 3976 3978 … … 3984 3986 { 3985 3987 m->sv = SettingsVersion_v1_10; 3986 break; 3988 break; /* abort the loop -- we will not raise the version further */ 3987 3989 } 3988 3990 }
Note:
See TracChangeset
for help on using the changeset viewer.

