VirtualBox

Changeset 44327 in vbox for trunk/src/VBox/Main/src-server


Ignore:
Timestamp:
Jan 22, 2013 9:29:47 AM (12 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
83270
Message:

Main/Snapshot: the merge procedure became a little bit better. Procedure take into account only those sizes of disks which are essentially needed for carrying out the merge.

File:
1 edited

Legend:

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

    r44152 r44327  
    25232523                ComObjPtr<Medium> pTarget_local = it_md->mpTarget;
    25242524                ComPtr<IMediumFormat> pTargetFormat;
     2525
     2526                {
     2527                    if ( pSource_local.isNull() ||
     2528                         pSource_local == pTarget_local )
     2529                    {
     2530                        ++it_md;
     2531                        continue;
     2532                    }
     2533                }
    25252534
    25262535                rc = pTarget_local->COMGETTER(MediumFormat)(pTargetFormat.asOutParam());
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