VirtualBox

Changeset 24098 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Oct 26, 2009 11:22:39 PM (15 years ago)
Author:
vboxsync
Message:

DevLsiLogic,DrvSCSI: Added new DrvSCSI method for synchronizing the requst queue. Useful for the lsilogicReset case. Dropped the lsilogicPowerOff and lsilogicSuspend waits as DrvSCSI will suspend on its own because it's a PDM thread. Fixed regression from recent saved state change.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/pdmifs.h

    r23185 r24098  
    25562556     *
    25572557     * @returns VBox status code.
    2558      * @param   pInterface    Pointer to this interface.
    2559      * @param   pSCSIRequest  Pointer to the SCSI request to execute.
     2558     * @param   pInterface      Pointer to this interface.
     2559     * @param   pSCSIRequest    Pointer to the SCSI request to execute.
    25602560     */
    25612561     DECLR3CALLBACKMEMBER(int, pfnSCSIRequestSend, (PPDMISCSICONNECTOR pInterface, PPDMSCSIREQUEST pSCSIRequest));
     2562
     2563    /**
     2564     * Wait for all current requests to complete.
     2565     *
     2566     * This can only be called while the VM is running.
     2567     *
     2568     * @returns VINF_SUCCESS, VERR_NO_MEMORY, VERR_INVALID_STATE or VERR_TIMEOUT.
     2569     * @param   pInterface      Pointer to this interface.
     2570     * @param   cMillies        The timeout in milliseconds or RT_INDEFINITE_WAIT.
     2571     */
     2572     DECLR3CALLBACKMEMBER(int, pfnSyncronizeRequests, (PPDMISCSICONNECTOR pInterface, uint32_t cMillies));
    25622573
    25632574} PDMISCSICONNECTOR;
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