Changeset 83603 in vbox for trunk/src/VBox/Devices/Storage
- Timestamp:
- Apr 7, 2020 9:43:23 AM (5 years ago)
- svn:sync-xref-src-repo-rev:
- 137006
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Storage/DevVirtioSCSI.cpp
r83594 r83603 368 368 /** The ring-3 device instance so we can easily get our bearings. */ 369 369 PPDMDEVINSR3 pDevIns; 370 PPDMDEVINSRC pDevInsRC;371 PPDMDEVINSR0 pDevInsR0;372 370 373 371 /** Pointer to attached driver's base interface. */ … … 742 740 virtioCoreR3QueuePut(pDevIns, &pThis->Virtio, EVENTQ_IDX, &ReqSgBuf, pDescChain, true /*fFence*/); 743 741 virtioCoreQueueSync(pDevIns, &pThis->Virtio, EVENTQ_IDX); 744 virtioCoreR3DescChainRelease( pDescChain);742 virtioCoreR3DescChainRelease(&pThis->Virtio, pDescChain); 745 743 746 744 return VINF_SUCCESS; … … 750 748 static void virtioScsiR3FreeReq(PVIRTIOSCSITARGET pTarget, PVIRTIOSCSIREQ pReq) 751 749 { 750 PVIRTIOSCSI pThis = PDMDEVINS_2_DATA(pTarget->pDevIns, PVIRTIOSCSI); 752 751 RTMemFree(pReq->pbSense); 753 752 pReq->pbSense = NULL; 754 virtioCoreR3DescChainRelease( pReq->pDescChain);753 virtioCoreR3DescChainRelease(&pThis->Virtio, pReq->pDescChain); 755 754 pReq->pDescChain = NULL; 756 755 pTarget->pDrvMediaEx->pfnIoReqFree(pTarget->pDrvMediaEx, pReq->hIoReq); … … 1560 1559 LogRel(("Error submitting req packet, resetting %Rrc", rc)); 1561 1560 1562 virtioCoreR3DescChainRelease( pDescChain);1561 virtioCoreR3DescChainRelease(&pThis->Virtio, pDescChain); 1563 1562 } 1564 1563 pWorkerR3->cRedoDescs = 0; … … 1583 1582 } 1584 1583 1585 virtioCoreR3DescChainRelease( pDescChain);1584 virtioCoreR3DescChainRelease(&pThis->Virtio, pDescChain); 1586 1585 } 1587 1586 }
Note:
See TracChangeset
for help on using the changeset viewer.