Changeset 42890 in vbox for trunk/src/VBox/Main/src-server
- Timestamp:
- Aug 20, 2012 5:45:13 PM (13 years ago)
- svn:sync-xref-src-repo-rev:
- 80177
- Location:
- trunk/src/VBox/Main/src-server
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/MachineImpl.cpp
r42875 r42890 395 395 * @return Success indicator. if not S_OK, the machine object is invalid 396 396 */ 397 HRESULT Machine::init (VirtualBox *aParent,398 const Utf8Str &strConfigFile,399 const Guid *aId)397 HRESULT Machine::initFromSettings(VirtualBox *aParent, 398 const Utf8Str &strConfigFile, 399 const Guid *aId) 400 400 { 401 401 LogFlowThisFuncEnter(); … … 8045 8045 if (mData->mFirstSnapshot) 8046 8046 { 8047 // snapshots tree is protected by m ediawrite lock; strictly8047 // snapshots tree is protected by machine write lock; strictly 8048 8048 // this isn't necessary here since we're deleting the entire 8049 8049 // machine, but otherwise we assert in Snapshot::uninit() -
trunk/src/VBox/Main/src-server/VirtualBoxImpl.cpp
r42888 r42890 607 607 if (SUCCEEDED(rc = pMachine.createObject())) 608 608 { 609 rc = pMachine->init (this,610 xmlMachine.strSettingsFile,611 &uuid);609 rc = pMachine->initFromSettings(this, 610 xmlMachine.strSettingsFile, 611 &uuid); 612 612 if (SUCCEEDED(rc)) 613 613 rc = registerMachine(pMachine);
Note:
See TracChangeset
for help on using the changeset viewer.