- Timestamp:
- Oct 14, 2013 9:15:46 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVM.cpp
r49074 r49091 142 142 hdCtr = m_machine.GetStorageControllerByName(strHDName); 143 143 hdCtr.SetControllerType(hdStorageControllerType); 144 145 /* Set the port count to 1 if SATA is used. */146 if (hdStorageControllerType == KStorageControllerType_IntelAhci)147 hdCtr.SetPortCount(1);148 144 } 149 145 else … … 153 149 strHDName = strDVDName; 154 150 } 151 152 /* Liomit the AHCI port count if it's used because windows has trouble with 153 too many ports and other guest (OS X in particular) may take extra long 154 to boot: */ 155 if (hdStorageControllerType == KStorageControllerType_IntelAhci) 156 hdCtr.SetPortCount(1 + (dvdStorageControllerType == KStorageControllerType_IntelAhci)); 157 else if (dvdStorageControllerType == KStorageControllerType_IntelAhci) 158 dvdCtr.SetPortCount(1); 155 159 156 160 /* Turn on PAE, if recommended: */
Note:
See TracChangeset
for help on using the changeset viewer.