VirtualBox

Ignore:
Timestamp:
Sep 10, 2019 3:19:39 PM (5 years ago)
Author:
vboxsync
Message:

PDM,Devices: Changed PDM_DEVREG_FLAGS_MSI_X into a registration field giving the max MSI-X vector count config for the device (typically VBOX_MSIX_MAX_ENTRIES). bugref:9218

File:
1 edited

Legend:

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

    r80702 r80704  
    55275527    MsiReg.iMsixNextOffset = 0x00;
    55285528    MsiReg.iMsixBar        = 3;
     5529    Assert(pDevIns->pReg->cMaxMsixVectors >= MsiReg.cMsixVectors); /* fix device registration when enabling this */
    55295530#  else
    55305531    MsiReg.cMsiVectors     = 1;
     
    57525753    /* .cbInstanceRC = */           0,
    57535754    /* .cMaxPciDevices = */         1,
     5755    /* .cMaxMsixVectors = */        0,
    57545756    /* .pszDescription = */         "LSI Logic 53c1030 SCSI controller.\n",
    57555757#if defined(IN_RING3)
     
    58265828    /* .cbInstanceRC = */           0,
    58275829    /* .cMaxPciDevices = */         1,
     5830    /* .cMaxMsixVectors = */        0,
    58285831    /* .pszDescription = */         "LSI Logic SAS1068 controller.\n",
    58295832#if defined(IN_RING3)
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