VirtualBox

Changeset 30179 in vbox for trunk/src


Ignore:
Timestamp:
Jun 14, 2010 11:56:32 AM (15 years ago)
Author:
vboxsync
Message:

FE/Virtualbox: Change the port count to 1 for SATA controllers. Some guests can't handle 30 ports (CentOS 4 and FreeBSD)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UINewVMWzd.cpp

    r29897 r30179  
    695695        hdCtr = m_Machine.GetStorageControllerByName(ctrHdName);
    696696        hdCtr.SetControllerType(hdStorageControllerType);
     697
     698        /* Set the port count to 1 if SATA is used. */
     699        if (hdStorageControllerType == KStorageControllerType_IntelAhci)
     700            hdCtr.SetPortCount(1);
    697701    }
    698702    else
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