VirtualBox

Changeset 64806 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Dec 8, 2016 9:10:30 AM (8 years ago)
Author:
vboxsync
Message:

BusLogic: Pretend to not have a guest buffer when the SCSI command is TEST UNIT READY (extending the hack for NT to the method to query the guest buffer size)

File:
1 edited

Legend:

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

    r64660 r64806  
    14061406        cbDataCCB       = pCCBGuest->n.cbData;
    14071407    }
     1408
     1409#if 1
     1410    /* Hack for NT 10/91: A CCB describes a 2K buffer, but TEST UNIT READY is executed. This command
     1411     * returns no data, hence the buffer must be left alone!
     1412     */
     1413    if (pCCBGuest->c.abCDB[0] == 0)
     1414        cbDataCCB = 0;
     1415#endif
    14081416
    14091417    if (   (pCCBGuest->c.uDataDirection != BUSLOGIC_CCB_DIRECTION_NO_DATA)
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