Changeset 103532 in vbox for trunk/src/VBox/Main/src-server
- Timestamp:
- Feb 22, 2024 2:05:31 PM (12 months ago)
- svn:sync-xref-src-repo-rev:
- 161878
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/UefiVariableStoreImpl.cpp
r99739 r103532 152 152 HRESULT UefiVariableStore::getSecureBootEnabled(BOOL *pfEnabled) 153 153 { 154 /* the machine needs to be mutable */155 AutoMutableStateDependency adep(m->pMachine);156 if (FAILED(adep.hrc())) return adep.hrc();157 158 154 HRESULT hrc = i_retainUefiVariableStore(true /*fReadonly*/); 159 155 if (FAILED(hrc)) return hrc; … … 324 320 std::vector<BYTE> &aData) 325 321 { 326 /* the machine needs to be mutable */327 AutoMutableStateDependency adep(m->pMachine);328 if (FAILED(adep.hrc())) return adep.hrc();329 330 322 HRESULT hrc = i_retainUefiVariableStore(true /*fReadonly*/); 331 323 if (FAILED(hrc)) return hrc; … … 370 362 std::vector<com::Guid> &aOwnerUuids) 371 363 { 372 /* the machine needs to be mutable */373 AutoMutableStateDependency adep(m->pMachine);374 if (FAILED(adep.hrc())) return adep.hrc();375 376 364 HRESULT hrc = i_retainUefiVariableStore(true /*fReadonly*/); 377 365 if (FAILED(hrc)) return hrc; … … 522 510 HRESULT UefiVariableStore::enrollDefaultMsSignatures(void) 523 511 { 512 /* the machine needs to be mutable */ 524 513 AutoMutableStateDependency adep(m->pMachine); 525 514 if (FAILED(adep.hrc())) return adep.hrc();
Note:
See TracChangeset
for help on using the changeset viewer.