VirtualBox

忽略:
時間撮記:
2014-11-28 上午09:30:29 (10 年 以前)
作者:
vboxsync
訊息:

Disk encryption: Make sure the DekMissing guest property is set before the state change handler is called when the VM is suspended

檔案:
修改 1 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/VBox/Main/src-client/ConsoleImpl2.cpp

    r53330 r53407  
    39683968            AssertRCReturn(rc, rc);
    39693969
     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
    39703986            /* There is no need to handle removable medium mounting, as we
    39713987             * unconditionally replace everthing including the block driver level.
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette