VirtualBox

Changeset 86514 in vbox


Ignore:
Timestamp:
Oct 10, 2020 1:07:10 PM (4 years ago)
Author:
vboxsync
Message:

VBoxSVC/VirtualBoxImpl.cpp: update @todo from r140816. bugref:9841

File:
1 edited

Legend:

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

    r86501 r86514  
    936936            /** @todo r=bird: should we really do notifications for duplicates?
    937937             *  ((Medium *)pHardDisk != (Medium *)pHardDiskActual)
    938              * The problem with that, though, is that for the children we don't quite know
    939              * which are duplicates and which aren't.   The above initFromSettings is
    940              * essentially a merge operation now, so in the duplicate case, we may just
    941              * have added a new (grand)child. */
     938             * The problem with that, though, is that for the children we don't quite know
     939             * which are duplicates and which aren't.   The above initFromSettings is
     940             * essentially poforming a merge operation now, so in the duplicate case, we may
     941             * just have added a new (grand)child.  Why don't we just pass uIdsForNotify
     942             * down to initFromSettings, that'll save us this extra walking? */
    942943
    943944            uIdsForNotify.push_back(std::pair<Guid, DeviceType_T>(pHardDiskActual->i_getId(), DeviceType_HardDisk));
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