- Timestamp:
- Sep 2, 2020 11:06:04 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Storage/DevLsiLogicSCSI.cpp
r85134 r85994 2155 2155 2156 2156 /* Copy the sense buffer over. */ 2157 PDMDevHlpPCIPhysWriteMeta(pDevIns, GCPhysAddrSenseBuffer, pReq->abSenseBuffer, 2158 RT_UNLIKELY( pReq->GuestRequest.SCSIIO.u8SenseBufferLength 2159 < sizeof(pReq->abSenseBuffer)) 2160 ? pReq->GuestRequest.SCSIIO.u8SenseBufferLength 2161 : sizeof(pReq->abSenseBuffer)); 2157 if (pReq->GuestRequest.SCSIIO.u8SenseBufferLength > 0) 2158 PDMDevHlpPCIPhysWriteMeta(pDevIns, GCPhysAddrSenseBuffer, pReq->abSenseBuffer, 2159 RT_UNLIKELY( pReq->GuestRequest.SCSIIO.u8SenseBufferLength 2160 < sizeof(pReq->abSenseBuffer)) 2161 ? pReq->GuestRequest.SCSIIO.u8SenseBufferLength 2162 : sizeof(pReq->abSenseBuffer)); 2162 2163 2163 2164 if (RT_SUCCESS(rcReq) && RT_LIKELY(pReq->u8ScsiSts == SCSI_STATUS_OK))
Note:
See TracChangeset
for help on using the changeset viewer.