VirtualBox

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


Ignore:
Timestamp:
Feb 5, 2015 2:50:18 PM (10 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
98042
Message:

AHCI: Fix possible crash when suspending a VM (very rare)

File:
1 edited

Legend:

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

    r54064 r54088  
    66386638        ASMAtomicIncU32(&pAhci->cThreadsActive);
    66396639
     6640        /* Check whether the thread should be suspended. */
     6641        if (pAhci->fSignalIdle)
     6642        {
     6643            if (!ASMAtomicDecU32(&pAhci->cThreadsActive))
     6644                PDMDevHlpAsyncNotificationCompleted(pAhciPort->pDevInsR3);
     6645            continue;
     6646        }
     6647
    66406648        /*
    66416649         * Check whether the global host controller bit is set and go to sleep immediately again
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