VirtualBox

Changeset 43320 in vbox for trunk/src/VBox/Devices/VMMDev


Ignore:
Timestamp:
Sep 13, 2012 2:28:30 PM (13 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
80747
Message:

Devices/VMMDev: clear IRQ on reset or Additions start.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/VMMDev/VMMDev.cpp

    r40054 r43320  
    536536        pThis->pDrv->pfnUpdateGuestInfo2(pThis->pDrv, uFullVersion, pszName, pInfo2->additionsRevision, pInfo2->additionsFeatures);
    537537
     538    /* Clear our IRQ in case it was high for whatever reason. */
     539    PDMDevHlpPCISetIrqNoWait (pThis->pDevIns, 0, 0);
     540
    538541    return VINF_SUCCESS;
    539542}
     
    923926
    924927            if (pThis->fu32AdditionsOk)
     928            {
    925929                pRequestHeader->rc = VINF_SUCCESS;
     930                /* Clear our IRQ in case it was high for whatever reason. */
     931                PDMDevHlpPCISetIrqNoWait (pThis->pDevIns, 0, 0);
     932            }
    926933            else
    927934                pRequestHeader->rc = VERR_VERSION_MISMATCH;
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