Changeset 106241 in vbox
- Timestamp:
- Oct 8, 2024 3:20:56 PM (7 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Storage/DrvSCSI.cpp
r106061 r106241 1037 1037 1038 1038 /* Sync buffers. */ 1039 size_t cbCopyIn = RT_MIN(pReq->cbBuf, cbXfer); 1039 1040 if ( RT_SUCCESS(rcReq) 1040 && pReq->cbBuf1041 && cbCopyIn 1041 1042 && ( pReq->enmXferDir == PDMMEDIAEXIOREQSCSITXDIR_UNKNOWN 1042 1043 || pReq->enmXferDir == PDMMEDIAEXIOREQSCSITXDIR_FROM_DEVICE)) … … 1045 1046 RTSgBufInit(&SgBuf, &pReq->Seg, 1); 1046 1047 int rcCopy = pThis->pDevMediaExPort->pfnIoReqCopyFromBuf(pThis->pDevMediaExPort, (PDMMEDIAEXIOREQ)pReq, 1047 &pReq->abAlloc[0], 0, &SgBuf, pReq->cbBuf);1048 &pReq->abAlloc[0], 0, &SgBuf, cbCopyIn); 1048 1049 if (RT_FAILURE(rcCopy)) 1049 1050 rcReq = rcCopy;
Note:
See TracChangeset
for help on using the changeset viewer.