Changeset 81016 in vbox
- Timestamp:
- Sep 26, 2019 12:20:00 PM (6 years ago)
- svn:sync-xref-src-repo-rev:
- 133618
- Location:
- trunk/src/VBox/Devices
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Makefile.kmk
r80943 r81016 524 524 VBoxDD_DEFS += VBOX_WITH_VIRTIO_SCSI 525 525 VBoxDD_SOURCES += \ 526 Virt io/Virtio_1_0.cpp \526 VirtIO/Virtio_1_0.cpp \ 527 527 Storage/DevVirtioSCSI.cpp 528 528 endif -
trunk/src/VBox/Devices/Storage/DevVirtioSCSI.cpp
r81015 r81016 803 803 AssertReturn(abSenseBuf, VERR_NO_MEMORY); 804 804 805 const char *pszCtrlRespText = virtioGetCtrlRespText(pRespHdr->uResponse); 805 806 Log2Func((" status: %s response: %s\n", 806 SCSIStatusText(pRespHdr->uStatus), virtioGetReqRespText(pRespHdr->uResponse)));807 SCSIStatusText(pRespHdr->uStatus), pszCtrlRespText)); 807 808 808 809 RTSGSEG aReqSegs[2]; … … 928 929 pReq->cbDataIn, pReq->cbDataOut, pReq->pDescChain->cbPhysDst, pReq->pDescChain->cbVirtSrc)); 929 930 LogFunc(("xfer = %lu, residual = %u\n", cbXfer, cbResidual)); 931 const char *pszTxDirText = virtioGetTxDirText(pReq->enmTxDir); 930 932 LogFunc(("xfer direction: %s, sense written = %d, sense size = %d\n", 931 virtioGetTxDirText(pReq->enmTxDir), respHdr.uSenseLen, pThis->virtioScsiConfig.uSenseSize));933 pszTxDirText, respHdr.uSenseLen, pThis->virtioScsiConfig.uSenseSize)); 932 934 } 933 935 … … 1218 1220 { 1219 1221 PVIRTIOSCSI_CTRL_TMF_T pScsiCtrlTmf = (PVIRTIOSCSI_CTRL_TMF_T)pScsiCtrl; 1222 const char *pszTmfTypeText = virtioGetTMFTypeText(pScsiCtrlTmf->uSubtype); 1220 1223 LogFunc(("%s, VirtIO LUN: %.8Rhxs\n%*sTask Mgt Function: %s (not yet implemented)\n", 1221 1224 QUEUENAME(qIdx), pScsiCtrlTmf->uScsiLun, 1222 CBQUEUENAME(qIdx) + 18, "", virtioGetTMFTypeText(pScsiCtrlTmf->uSubtype)));1225 CBQUEUENAME(qIdx) + 18, "", pszTmfTypeText)); 1223 1226 1224 1227 switch(pScsiCtrlTmf->uSubtype) … … 1321 1324 } 1322 1325 1323 LogFunc(("Response code: %s\n", virtioGetCtrlRespText(uResponse))); 1326 const char *pszCtrlRespText = virtioGetCtrlRespText(uResponse); 1327 LogFunc(("Response code: %s\n", pszCtrlRespText)); 1324 1328 virtioQueuePut (pThis->hVirtio, qIdx, &reqSegBuf, pDescChain, true); 1325 1329 virtioQueueSync(pThis->hVirtio, qIdx); … … 1412 1416 } 1413 1417 1418 #if 0 1414 1419 /* Only invoke this if VIRTIOSCSI_F_HOTPLUG is negotiated during intiailization 1415 1420 * This effectively removes the SCSI Target/LUN on the guest side … … 1479 1484 VIRTIOSCSI_EVT_ASYNC_DEVICE_BUSY); 1480 1485 } 1481 1486 #endif 1482 1487 1483 1488 DECLINLINE(void) virtioScsiReportParamChange(PVIRTIOSCSI pThis, uint16_t uTarget, uint32_t uSenseCode, uint32_t uSenseQualifier)
Note:
See TracChangeset
for help on using the changeset viewer.