Changeset 78604 in vbox for trunk/src/VBox/Main/src-server
- Timestamp:
- May 20, 2019 4:45:15 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/ApplianceImplImport.cpp
r78603 r78604 2853 2853 { 2854 2854 /* 2855 * 1. Create a custom image from the instance 2855 * 1. Create a custom image from the instance 2856 2856 * - 2 operations (starting and waiting) 2857 2857 * 2. Import the custom image into the Object Storage (OCI format - TAR file with QCOW2 image and JSON file) … … 2866 2866 */ 2867 2867 2868 /* 2868 /* 2869 2869 * See src/VBox/ExtPacks/Puel/OCI/OCICloudClient.h. 2870 2870 * Weight of cloud import operations (1-3 items from above): 2871 2871 * 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) 2875 2875 */ 2876 2876 progress->init(mVirtualBox, static_cast<IAppliance*>(this), … … 4214 4214 else 4215 4215 { 4216 /* just continue with normal files */4216 /* just continue with normal files */ 4217 4217 ++oit; 4218 4218 } … … 4226 4226 if (stack.locInfo.storageType == VFSType_Cloud) 4227 4227 { 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::strDiskId4231 //and find the Medium object with this uuid.4232 //next just attach the Medium object to new VM.4233 //VirtualDisk::strDiskId is filled in the4228 /* 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 */ 4234 4234 4235 4235 Guid id(ovfVdisk.strDiskId);
Note:
See TracChangeset
for help on using the changeset viewer.