VirtualBox

Changeset 32934 in vbox


Ignore:
Timestamp:
Oct 6, 2010 9:08:54 AM (14 years ago)
Author:
vboxsync
Message:

Main/Medium: Automatically repair streamOptimized VMDK files too. They are never created as diff images by normal VirtualBox operations, and forcing them to be base images allows importing OVF appliances created by broken VirtualBox versions.

File:
1 edited

Legend:

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

    r32903 r32934  
    38603860                ComAssertRCThrow(vrc, E_FAIL);
    38613861
    3862                 if (isImport)
     3862                /* streamOptimized VMDK images are only accepted as base
     3863                 * images, as this allows automatic repair of OVF appliances.
     3864                 * Since such images don't support random writes they will not
     3865                 * be created for diff images. Only an overly smart user might
     3866                 * manually create this case. Too bad for him. */
     3867                if (   isImport
     3868                    && !(uImageFlags & VD_VMDK_IMAGE_FLAGS_STREAM_OPTIMIZED))
    38633869                {
    38643870                    /* the parent must be known to us. Note that we freely
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