VirtualBox

Changeset 17836 in vbox for trunk/src/VBox/Frontends


Ignore:
Timestamp:
Mar 13, 2009 3:26:27 PM (16 years ago)
Author:
vboxsync
Message:

API/HardDisk, Storage/VBoxHDD: use image variant, and to implement cloning to different image variant add a parameter to VDCopy.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxManage/VBoxInternalManage.cpp

    r16873 r17836  
    13231323        else
    13241324        {
    1325             vrc = VDCopy(pDisk, 0, pDisk, "VMDK", Utf8Str(dst).raw(), true, 0, NULL, NULL, NULL, NULL);
     1325            vrc = VDCopy(pDisk, 0, pDisk, "VMDK", Utf8Str(dst).raw(), true, 0, VD_IMAGE_FLAGS_NONE, NULL, NULL, NULL, NULL);
    13261326            if (RT_FAILURE(vrc))
    13271327            {
     
    16001600        /* Create the output image */
    16011601        vrc = VDCopy(pSrcDisk, VD_LAST_IMAGE, pDstDisk, Utf8Str(dstformat).raw(),
    1602                      Utf8Str(dst).raw(), false, 0, NULL, NULL, NULL, NULL);
     1602                     Utf8Str(dst).raw(), false, 0, VD_IMAGE_FLAGS_NONE, NULL, NULL, NULL, NULL);
    16031603        if (RT_FAILURE(vrc))
    16041604        {
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