Changeset 91327 in vbox
- Timestamp:
- Sep 22, 2021 3:15:08 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Security/DrvTpmEmuTpms.cpp
r91311 r91327 747 747 PDMDRV_CHECK_VERSIONS_RETURN_VOID(pDrvIns); 748 748 749 PDRVTPMEMU pThis = PDMINS_2_DATA(pDrvIns, PDRVTPMEMU); 750 749 751 TPMLIB_Terminate(); 752 753 int rc; 754 if (pThis->pDrvVfs) 755 rc = drvTpmEmuTpmsNvramStoreToVfs(pThis); 756 else 757 rc = drvTpmEmuTpmsNvramStore(pThis); 758 AssertRC(rc); 750 759 } 751 760 … … 758 767 PDRVTPMEMU pThis = PDMINS_2_DATA(pDrvIns, PDRVTPMEMU); 759 768 LogFlow(("%s\n", __FUNCTION__)); 760 761 if (!pThis->fSsmCalled)762 {763 int rc;764 if (pThis->pDrvVfs)765 rc = drvTpmEmuTpmsNvramStoreToVfs(pThis);766 else767 rc = drvTpmEmuTpmsNvramStore(pThis);768 AssertRC(rc);769 }770 769 771 770 if (pThis->pvNvPermall)
Note:
See TracChangeset
for help on using the changeset viewer.