VirtualBox

Changeset 97029 in vbox for trunk/src/VBox/Devices/Storage


Ignore:
Timestamp:
Oct 6, 2022 10:12:40 AM (2 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
153965
Message:

DevLsiLogic: Only handle MPT extended config pages when emulating SAS controller, not SPI.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Storage/DevLsiLogicSCSI.cpp

    r96407 r97029  
    32463246        case MPT_CONFIGURATION_PAGE_TYPE_EXTENDED:
    32473247        {
    3248             rc = lsilogicR3ConfigurationPageGetExtended(pThisCC,
    3249                                                         pConfigurationReq,
    3250                                                         &pExtPageHeader, &pbPageData, &cbPage);
     3248            if (pThis->enmCtrlType == LSILOGICCTRLTYPE_SCSI_SAS)
     3249            {
     3250                rc = lsilogicR3ConfigurationPageGetExtended(pThisCC,
     3251                                                            pConfigurationReq,
     3252                                                            &pExtPageHeader, &pbPageData, &cbPage);
     3253            }
     3254            else
     3255                rc = VERR_NOT_FOUND;
    32513256            break;
    32523257        }
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