VirtualBox

Changeset 18114 in vbox for trunk/src/VBox/Main


Ignore:
Timestamp:
Mar 20, 2009 1:07:29 PM (16 years ago)
Author:
vboxsync
Message:

Main/Appliance: use the flattenTo API when exporting the image to streamOptimized VMDK.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/ApplianceImpl.cpp

    r18052 r18114  
    31013101            try
    31023102            {
    3103                 // clone the source disk image
    3104                 rc = pSourceDisk->CloneTo(pTargetDisk, HardDiskVariant_VmdkStreamOptimized, pProgress2.asOutParam());
     3103                // create a flat copy of the source disk image
     3104                rc = pSourceDisk->FlattenTo(pTargetDisk, HardDiskVariant_VmdkStreamOptimized, pProgress2.asOutParam());
    31053105                if (FAILED(rc)) throw rc;
    31063106
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