- Timestamp:
- Nov 2, 2021 11:28:51 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/VirtualBoxImpl.cpp
r92168 r92176 1462 1462 */ 1463 1463 HRESULT VirtualBox::createHostOnlyNetwork(const com::Utf8Str &aNetworkName, 1464 ComPtr<IHostOnlyNetwork> &aNetwork)1464 ComPtr<IHostOnlyNetwork> &aNetwork) 1465 1465 { 1466 1466 #ifdef VBOX_WITH_VMNET … … 4612 4612 * that a machine has been renamed. Such renames will require 4613 4613 * updating the global media registry during the 4614 * VirtualBox:: saveSettings() that follows later.4614 * VirtualBox::i_saveSettings() that follows later. 4615 4615 * 4616 4616 * When a machine is renamed, there may well be media (in particular, 4617 4617 * diff images for snapshots) in the global registry that will need 4618 4618 * to have their paths updated. Before 3.2, Machine::saveSettings 4619 * used to call VirtualBox:: saveSettings implicitly, which was both4619 * used to call VirtualBox::i_saveSettings implicitly, which was both 4620 4620 * unintuitive and caused locking order problems. Now, we remember 4621 4621 * such pending name changes with this method so that 4622 * VirtualBox:: saveSettings() can process them properly.4622 * VirtualBox::i_saveSettings() can process them properly. 4623 4623 */ 4624 4624 void VirtualBox::i_rememberMachineNameChangeForMedia(const Utf8Str &strOldConfigDir, … … 4703 4703 * This gets called from two contexts: 4704 4704 * 4705 * -- VirtualBox:: saveSettings() with the UUID of the global registry4705 * -- VirtualBox::i_saveSettings() with the UUID of the global registry 4706 4706 * (VirtualBox::Data.uuidRegistry); this will save those media 4707 4707 * which had been loaded from the global registry or have been
Note:
See TracChangeset
for help on using the changeset viewer.