Changeset 101156 in vbox
- Timestamp:
- Sep 18, 2023 3:28:39 PM (15 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVM.cpp
r101064 r101156 373 373 } 374 374 375 /* Limit the AHCI port count if it's used because windows has trouble with376 too many ports and other guest (OS X in particular) may take extra long377 to boot: */378 if (hdStorageControllerType == KStorageControllerType_IntelAhci)379 hdCtr.SetPortCount(1 + (dvdStorageControllerType == KStorageControllerType_IntelAhci));380 else if (dvdStorageControllerType == KStorageControllerType_IntelAhci)381 dvdCtr.SetPortCount(1);382 383 375 KPlatformArchitecture const platformArch = comPlatform.GetArchitecture(); 384 376 switch (platformArch) … … 386 378 case KPlatformArchitecture_x86: 387 379 { 380 /* Limit the AHCI port count if it's used because windows has trouble with 381 too many ports and other guest (OS X in particular) may take extra long 382 to boot: */ 383 if (hdStorageControllerType == KStorageControllerType_IntelAhci) 384 hdCtr.SetPortCount(1 + (dvdStorageControllerType == KStorageControllerType_IntelAhci)); 385 else if (dvdStorageControllerType == KStorageControllerType_IntelAhci) 386 dvdCtr.SetPortCount(1); 387 388 388 CPlatformX86 comPlatformX86 = comPlatform.GetX86(); 389 389 … … 402 402 case KPlatformArchitecture_ARM: 403 403 { 404 /** @todo BUGBUG ARM stuff goes here. */ 404 /* When using VirtioSCSI as the HDD storage controller and the DVD Drive is on that same controller, 405 * we have to raise the port count, as VirtioSCSI only configures one port per default. */ 406 if ( hdCtr == dvdCtr 407 && hdStorageControllerType == KStorageControllerType_VirtioSCSI) 408 hdCtr.SetPortCount(2); 405 409 break; 406 410 }
Note:
See TracChangeset
for help on using the changeset viewer.