VirtualBox

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


Ignore:
Timestamp:
Jun 11, 2019 5:09:16 PM (6 years ago)
Author:
vboxsync
Message:

Main/Appliance: When importing an OVF with the vbox config xml the media ended up in the global registry. This prevented them from being added to the right registry when the VM is finally created and registered.

File:
1 edited

Legend:

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

    r79023 r79093  
    35943594                 * HRESULTs on error. */
    35953595                stack.pProgress->WaitForOtherProgressCompletion(pProgressImport, 0 /* indefinite wait */);
     3596
     3597                /* The creating/importing has placed the medium in the global
     3598                 * media registry since the VM isn't created yet. Remove it
     3599                 * again to let it added to the right registry when the VM
     3600                 * has been created below. */
     3601                pTargetMedium->i_removeRegistry(mVirtualBox->i_getGlobalRegistryId());
    35963602            }
    35973603        }
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