VirtualBox

Ignore:
Timestamp:
Jul 27, 2009 10:14:11 AM (15 years ago)
Author:
vboxsync
Message:

Storage/VBoxHDD: resurrect the facility to dump information about disk images, and bare minimum fix for creating diff images.

File:
1 edited

Legend:

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

    r21394 r21806  
    665665    mm.vdIfCallsError.enmInterface = VDINTERFACETYPE_ERROR;
    666666    mm.vdIfCallsError.pfnError = vdErrorCall;
     667    mm.vdIfCallsError.pfnMessage = NULL;
    667668
    668669    /* Initialize the callbacks of the VD progress interface */
     
    32503251
    32513252            /** @todo This kind of opening of images is assuming that diff
    3252              * images can be opened as base images. Not very clean, and should
    3253              * be fixed eventually. */
     3253             * images can be opened as base images. Should be fixed ASAP. */
    32543254            vrc = VDOpen(hdd,
    32553255                         Utf8Str(mm.format),
     
    32753275                if (mm.setParentId)
    32763276                {
    3277                     vrc = VDSetUuid(hdd, 0, mm.parentId);
     3277                    vrc = VDSetParentUuid(hdd, 0, mm.parentId);
    32783278                    ComAssertRCThrow(vrc, E_FAIL);
    32793279                }
     
    39003900                    that->mm.vdProgress = task->progress;
    39013901
     3902                    /** @todo add VD_IMAGE_FLAGS_DIFF to the image flags, to
     3903                     * be on the safe side. */
    39023904                    vrc = VDCreateDiff (hdd, targetFormat, targetLocation,
    39033905                                        task->d.variant,
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