Changeset 81425 in vbox for trunk/src/VBox/Main/src-server/BIOSSettingsImpl.cpp
- Timestamp:
- Oct 21, 2019 6:19:39 PM (6 years ago)
- svn:sync-xref-src-repo-rev:
- 134142
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/BIOSSettingsImpl.cpp
r81299 r81425 153 153 m->bd.attachCopy(that->m->bd); 154 154 155 // Intentionally "forget" the NVRAM file since it must be unique and set 156 // to the correct value before the copy of the settings makes sense. 157 m->bd->strNVRAMPath.setNull(); 158 155 159 autoInitSpan.setSucceeded(); 156 160 … … 373 377 374 378 m->bd.backup(); 375 376 379 m->bd->fIOAPICEnabled = RT_BOOL(aIOAPICEnabled); 380 377 381 alock.release(); 378 382 AutoWriteLock mlock(m->pMachine COMMA_LOCKVAL_SRC_POS); // mParent is const, needs no locking … … 401 405 402 406 m->bd.backup(); 403 404 407 m->bd->apicMode = aAPICMode; 408 405 409 alock.release(); 406 410 AutoWriteLock mlock(m->pMachine COMMA_LOCKVAL_SRC_POS); // mParent is const, needs no locking … … 591 595 /* this will back up current data */ 592 596 m->bd.assignCopy(aThat->m->bd); 597 598 // Intentionally "forget" the NVRAM file since it must be unique and set 599 // to the correct value before the copy of the settings makes sense. 600 m->bd->strNVRAMPath.setNull(); 601 593 602 } 594 603 … … 608 617 } 609 618 619 Utf8Str BIOSSettings::i_getNonVolatileStorageFile() 620 { 621 AutoCaller autoCaller(this); 622 AssertComRCReturn(autoCaller.rc(), Utf8Str::Empty); 623 624 Utf8Str strTmp; 625 BIOSSettings::getNonVolatileStorageFile(strTmp); 626 return strTmp; 627 } 628 610 629 void BIOSSettings::i_updateNonVolatileStorageFile(const Utf8Str &aNonVolatileStorageFile) 611 630 {
Note:
See TracChangeset
for help on using the changeset viewer.