VirtualBox

Changeset 32071 in vbox


Ignore:
Timestamp:
Aug 29, 2010 3:58:05 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
65333
Message:

FE/VirtualBox: passthrough support for SATA

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/vm/VBoxVMSettingsHD.cpp

    r31615 r32071  
    22292229                /* Getting Passthrough state */
    22302230                bool isHostDrive = mStorageModel->data (index, StorageModel::R_AttIsHostDrive).toBool();
    2231                 /* Passthrough is currently available only for the IDE controller DVD device */
    2232                 bool isIdeCtr = mStorageModel->data (index.parent(), StorageModel::R_CtrBusType).value <KStorageBus>() == KStorageBus_IDE;
    2233                 mCbPassthrough->setEnabled (isHostDrive && isIdeCtr);
    2234                 mCbPassthrough->setChecked (isHostDrive && isIdeCtr && mStorageModel->data (index, StorageModel::R_AttIsPassthrough).toBool());
     2231                mCbPassthrough->setEnabled (isHostDrive);
     2232                mCbPassthrough->setChecked (isHostDrive && mStorageModel->data (index, StorageModel::R_AttIsPassthrough).toBool());
    22352233
    22362234                /* Update optional widgets visibility */
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette