VirtualBox

Changeset 8137 in vbox for trunk/src


Ignore:
Timestamp:
Apr 18, 2008 11:48:10 AM (17 years ago)
Author:
vboxsync
Message:

AHCI: if no hard disk is attached we have to at least report one available port

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/ui/VBoxHardDiskSettings.ui.h

    r8118 r8137  
    576576    mLvHD->setSortColumn (0);
    577577    mLvHD->sort();
    578     LONG maxSATAPort = -1;
     578    LONG maxSATAPort = 1;
    579579    HDListItem *item = mLvHD->firstChild() &&
    580580        mLvHD->firstChild()->rtti() == HDListItem::HDListItemType ?
     
    593593    }
    594594
    595     mMachine.GetSATAController().SetPortCount (maxSATAPort + 1);
     595    mMachine.GetSATAController().SetPortCount (maxSATAPort);
    596596}
    597597
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