VirtualBox

Ignore:
Timestamp:
Mar 18, 2024 9:38:17 AM (9 months ago)
Author:
vboxsync
Message:

VSCSI: For READ(6) and WRITE(6), a request to transfer zero blocks means transferring 256 blocks.

File:
1 edited

Legend:

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

    r98103 r103882  
    12221222                                            | ((pVScsiReq->pbCDB[1] & 0x1f) << 16));
    12231223                cSectorTransfer = pVScsiReq->pbCDB[4];
     1224                cSectorTransfer = cSectorTransfer ? cSectorTransfer : 256;  /* Zero blocks means 256 */
    12241225                cbSector        = _2K;
    12251226                break;
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