VirtualBox

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


Ignore:
Timestamp:
May 20, 2019 4:45:15 PM (6 years ago)
Author:
vboxsync
Message:

bugref:9416. scm fixes.

File:
1 edited

Legend:

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

    r78603 r78604  
    28532853            {
    28542854                /*
    2855                  * 1. Create a custom image from the instance 
     2855                 * 1. Create a custom image from the instance
    28562856                 *  - 2 operations (starting and waiting)
    28572857                 * 2. Import the custom image into the Object Storage (OCI format - TAR file with QCOW2 image and JSON file)
     
    28662866                */
    28672867
    2868                 /* 
     2868                /*
    28692869                 * See src/VBox/ExtPacks/Puel/OCI/OCICloudClient.h.
    28702870                 * Weight of cloud import operations (1-3 items from above):
    28712871                 * Total = 750 = 10+40+50+50+200x2+200.
    2872                  * 
    2873                  * Weight of local import operations (4-5 items from above): 
    2874                  * Total = 250 = 200 (extract and convert) + 50 (create VM, attach disks) 
     2872                 *
     2873                 * Weight of local import operations (4-5 items from above):
     2874                 * Total = 250 = 200 (extract and convert) + 50 (create VM, attach disks)
    28752875                 */
    28762876                progress->init(mVirtualBox, static_cast<IAppliance*>(this),
     
    42144214                else
    42154215                {
    4216                     /* just continue with normal files*/
     4216                    /* just continue with normal files */
    42174217                    ++oit;
    42184218                }
     
    42264226                if (stack.locInfo.storageType == VFSType_Cloud)
    42274227                {
    4228                     //we have already all disks prepared (converted and registered in the VBox)
    4229                     //and in the correct place (VM machine folder).
    4230                     //so what is needed is to get the disk uuid from VirtualDisk::strDiskId
    4231                     //and find the Medium object with this uuid.
    4232                     //next just attach the Medium object to new VM.
    4233                     //VirtualDisk::strDiskId is filled in the
     4228                    /* We have already all disks prepared (converted and registered in the VBox)
     4229                     * and in the correct place (VM machine folder).
     4230                     * so what is needed is to get the disk uuid from VirtualDisk::strDiskId
     4231                     * and find the Medium object with this uuid.
     4232                     * next just attach the Medium object to new VM.
     4233                     * VirtualDisk::strDiskId is filled in the */
    42344234
    42354235                    Guid id(ovfVdisk.strDiskId);
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