VirtualBox

Changeset 71775 in vbox for trunk/include


Ignore:
Timestamp:
Apr 9, 2018 2:54:57 PM (7 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
121878
Message:

Devices/Storage: Properly account for requests currently waiting for I/O memory when suspending/resuming to avoid hangs upon suspend (devices would not complete suspending because aiting requests would be marked as active but could not complete)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/vmm/pdmstorageifs.h

    r70685 r71775  
    770770
    771771    /**
     772     * Notifies the driver below that the device received a suspend notification.
     773     *
     774     * @returns nothing.
     775     * @param   pInterface      Pointer to the interface structure containing the called function pointer.
     776     *
     777     * @note this is required because the PDM drivers in the storage area usually get their suspend notification
     778     *       only after the device finished suspending. For some cases it is useful for the driver to know
     779     *       as early as possible that a suspend is in progress to stop issuing deferred requests or other things.
     780     */
     781    DECLR3CALLBACKMEMBER(void, pfnNotifySuspend, (PPDMIMEDIAEX pInterface));
     782
     783    /**
    772784     * Sets the size of the allocator specific memory for a I/O request.
    773785     *
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