Changeset 37341 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- Jun 7, 2011 12:02:55 PM (14 years ago)
- svn:sync-xref-src-repo-rev:
- 72104
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsStorage.cpp
r37331 r37341 3163 3163 controller.SetUseHostIOCache(fUseHostIOCache); 3164 3164 3165 /* Set port count to max possible initially: */ 3166 if (controllerData.m_controllerBus == KStorageBus_SATA) 3167 { 3168 CSystemProperties properties = vboxGlobal().virtualBox().GetSystemProperties(); 3169 controller.SetPortCount(properties.GetMaxPortCountForStorageBus(KStorageBus_SATA)); 3170 } 3171 3165 3172 /* Prepare max used port for SATA controller: */ 3166 3173 int cMaxUsedPort = -1; … … 3225 3232 controller.SetControllerType(controllerType); 3226 3233 controller.SetUseHostIOCache(fUseHostIOCache); 3234 3235 /* Set port count to max possible initially: */ 3236 if (controllerData.m_controllerBus == KStorageBus_SATA) 3237 { 3238 CSystemProperties properties = vboxGlobal().virtualBox().GetSystemProperties(); 3239 controller.SetPortCount(properties.GetMaxPortCountForStorageBus(KStorageBus_SATA)); 3240 } 3227 3241 3228 3242 /* Prepare max used port for SATA controller: */
Note:
See TracChangeset
for help on using the changeset viewer.