VirtualBox

Changeset 86255 in vbox for trunk


Ignore:
Timestamp:
Sep 24, 2020 6:20:40 AM (4 years ago)
Author:
vboxsync
Message:

AMD IOMMU: bugref:9654 Fix stat counter for MSI remaps only when the IOMMU is enabled.

File:
1 edited

Legend:

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

    r86254 r86255  
    34393439
    34403440    PIOMMU pThis = PDMDEVINS_2_DATA(pDevIns, PIOMMU);
    3441     STAM_COUNTER_INC(&pThis->CTX_SUFF_Z(StatMsiRemap));
    3442 
    3443     LogFlowFunc(("uDevId=%#x\n", uDevId));
    34443441
    34453442    /* Interrupts are forwarded with remapping when the IOMMU is disabled. */
     
    34473444    if (Ctrl.n.u1IommuEn)
    34483445    {
     3446        STAM_COUNTER_INC(&pThis->CTX_SUFF_Z(StatMsiRemap));
     3447        LogFlowFunc(("uDevId=%#x\n", uDevId));
    34493448        /** @todo Cache? */
    34503449
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