VirtualBox

Changeset 32862 in vbox for trunk/src/VBox/Devices/Bus


Ignore:
Timestamp:
Oct 1, 2010 12:28:40 PM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
66338
Message:

MSI: don't generate events if globally disabled

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Bus/MsiCommon.cpp

    r32860 r32862  
    140140                    }
    141141
    142                     if (maskUpdated != -1)
     142                    if (maskUpdated != -1 && msiIsEnabled(pDev))
    143143                    {
    144144                        for (int iBitNum = 0; i<8; i++)
     
    199199    Assert(cVectors > 0);
    200200
     201    if (cVectors != 1)
     202        /* We cannot handle multiple vectors yet */
     203        return VERR_TOO_MUCH_DATA;
     204
    201205    if (cVectors > VBOX_MSI_MAX_ENTRIES)
    202206        return VERR_TOO_MUCH_DATA;
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