VirtualBox

Ignore:
Timestamp:
Oct 25, 2016 11:53:00 AM (8 years ago)
Author:
vboxsync
Message:

Devices/Storage: Add callback to query the actual transfer size of an I/O request if PDMIMEDIAEX is used, useful to calculate the amount of data transferred for requests where the transfer size can be different from the guest buffer size (e.g. SCSI)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Storage/DrvHostBase.h

    r64320 r64407  
    133133typedef struct DRVHOSTBASEREQ
    134134{
     135    /** Transfer size. */
     136    size_t                   cbReq;
     137    /** Amount of residual data. */
     138    size_t                   cbResidual;
    135139    /** Start of the request data for the device above us. */
    136140    uint8_t                  abAlloc[1];
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