VirtualBox

Ignore:
Timestamp:
Oct 12, 2010 4:26:35 PM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
66605
Message:

Main: change per-machine media registries so that removeable media files (ISO, RAW) can appear in more than one registry; fix saving registry with removeable media (mount at runtime), hopefully

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/SnapshotImpl.cpp

    r33067 r33078  
    26882688                {
    26892689                    AutoWriteLock attLock(pAtt COMMA_LOCKVAL_SRC_POS);
    2690                     pAtt->updateMedium(it->mpTarget, false /* aImplicit */);
     2690                    pAtt->updateMedium(it->mpTarget);
    26912691                    it->mpTarget->addBackReference(pMachine->mData->mUuid, childSnapshotId);
    26922692                }
     
    32623262    if (aMergeForward)
    32633263    {
    3264         Guid uuidRegistry = pTarget->getRegistryId();
    3265 
    32663264        // first, unregister the target since it may become a base
    32673265        // hard disk which needs re-registration
Note: See TracChangeset for help on using the changeset viewer.

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