VirtualBox

Changeset 92176 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Nov 2, 2021 11:28:51 AM (3 years ago)
Author:
vboxsync
Message:

Main/VirtualBox: Few comment fixes (there is no VirtualBox::saveSettings for many years) and small whitespace adjustment

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-server/VirtualBoxImpl.cpp

    r92168 r92176  
    14621462 */
    14631463HRESULT VirtualBox::createHostOnlyNetwork(const com::Utf8Str &aNetworkName,
    1464                                        ComPtr<IHostOnlyNetwork> &aNetwork)
     1464                                          ComPtr<IHostOnlyNetwork> &aNetwork)
    14651465{
    14661466#ifdef VBOX_WITH_VMNET
     
    46124612 * that a machine has been renamed. Such renames will require
    46134613 * updating the global media registry during the
    4614  * VirtualBox::saveSettings() that follows later.
     4614 * VirtualBox::i_saveSettings() that follows later.
    46154615*
    46164616 * When a machine is renamed, there may well be media (in particular,
    46174617 * diff images for snapshots) in the global registry that will need
    46184618 * to have their paths updated. Before 3.2, Machine::saveSettings
    4619  * used to call VirtualBox::saveSettings implicitly, which was both
     4619 * used to call VirtualBox::i_saveSettings implicitly, which was both
    46204620 * unintuitive and caused locking order problems. Now, we remember
    46214621 * such pending name changes with this method so that
    4622  * VirtualBox::saveSettings() can process them properly.
     4622 * VirtualBox::i_saveSettings() can process them properly.
    46234623 */
    46244624void VirtualBox::i_rememberMachineNameChangeForMedia(const Utf8Str &strOldConfigDir,
     
    47034703 * This gets called from two contexts:
    47044704 *
    4705  *  -- VirtualBox::saveSettings() with the UUID of the global registry
     4705 *  -- VirtualBox::i_saveSettings() with the UUID of the global registry
    47064706 *     (VirtualBox::Data.uuidRegistry); this will save those media
    47074707 *     which had been loaded from the global registry or have been
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette