- Timestamp:
- Apr 10, 2018 10:08:46 AM (7 years ago)
- Location:
- trunk/src/VBox/Devices/Storage
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Storage/DrvHostBase.cpp
r69500 r71807 493 493 *pfFeatures = pThis->IMediaEx.pfnIoReqSendScsiCmd ? PDMIMEDIAEX_FEATURE_F_RAWSCSICMD : 0; 494 494 return VINF_SUCCESS; 495 } 496 497 /** @interface_method_impl{PDMIMEDIAEX,pfnNotifySuspend} */ 498 static DECLCALLBACK(void) drvHostBaseNotifySuspend(PPDMIMEDIAEX pInterface) 499 { 500 RT_NOREF(pInterface); /* Nothing to do here. */ 495 501 } 496 502 … … 1295 1301 /* IMediaEx */ 1296 1302 pThis->IMediaEx.pfnQueryFeatures = drvHostBaseQueryFeatures; 1303 pThis->IMediaEx.pfnNotifySuspend = drvHostBaseNotifySuspend; 1297 1304 pThis->IMediaEx.pfnIoReqAllocSizeSet = drvHostBaseIoReqAllocSizeSet; 1298 1305 pThis->IMediaEx.pfnIoReqAlloc = drvHostBaseIoReqAlloc; -
trunk/src/VBox/Devices/Storage/DrvSCSI.cpp
r70688 r71807 763 763 } 764 764 765 /** @interface_method_impl{PDMIMEDIAEX,pfnNotifySuspend} */ 766 static DECLCALLBACK(void) drvscsiNotifySuspend(PPDMIMEDIAEX pInterface) 767 { 768 PDRVSCSI pThis = RT_FROM_MEMBER(pInterface, DRVSCSI, IMediaEx); 769 770 pThis->pDrvMediaEx->pfnNotifySuspend(pThis->pDrvMediaEx); 771 } 772 765 773 /** @interface_method_impl{PDMIMEDIAEX,pfnIoReqAllocSizeSet} */ 766 774 static DECLCALLBACK(int) drvscsiIoReqAllocSizeSet(PPDMIMEDIAEX pInterface, size_t cbIoReqAlloc) … … 1318 1326 /* IMediaEx */ 1319 1327 pThis->IMediaEx.pfnQueryFeatures = drvscsiQueryFeatures; 1328 pThis->IMediaEx.pfnNotifySuspend = drvscsiNotifySuspend; 1320 1329 pThis->IMediaEx.pfnIoReqAllocSizeSet = drvscsiIoReqAllocSizeSet; 1321 1330 pThis->IMediaEx.pfnIoReqAlloc = drvscsiIoReqAlloc;
Note:
See TracChangeset
for help on using the changeset viewer.