- 時間撮記:
- 2014-11-28 上午09:30:29 (10 年 以前)
- 檔案:
-
- 修改 1 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/VBox/Main/src-client/ConsoleImpl2.cpp
r53330 r53407 3968 3968 AssertRCReturn(rc, rc); 3969 3969 3970 /* 3971 * Make the secret key helper interface known to the VD driver if it is attached, 3972 * so we can get notified about missing keys. 3973 */ 3974 PPDMIBASE pIBase = NULL; 3975 rc = PDMR3QueryDriverOnLun(pUVM, pcszDevice, uInstance, uLUN, "VD", &pIBase); 3976 if (RT_SUCCESS(rc) && pIBase) 3977 { 3978 PPDMIMEDIA pIMedium = (PPDMIMEDIA)pIBase->pfnQueryInterface(pIBase, PDMIMEDIA_IID); 3979 if (pIMedium) 3980 { 3981 rc = pIMedium->pfnSetSecKeyIf(pIMedium, NULL, mpIfSecKeyHlp); 3982 Assert(RT_SUCCESS(rc) || rc == VERR_NOT_SUPPORTED); 3983 } 3984 } 3985 3970 3986 /* There is no need to handle removable medium mounting, as we 3971 3987 * unconditionally replace everthing including the block driver level.
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器