VirtualBox

Changeset 16871 in vbox for trunk


Ignore:
Timestamp:
Feb 17, 2009 5:48:42 PM (16 years ago)
Author:
vboxsync
Message:

Storage/VMDK: delete streamOptimized version paranoia. the version 3 apparently was a bit flip in transmission.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Storage/VmdkHDDCore.cpp

    r16827 r16871  
    28752875    /* Make sure this is not reached accidentally with an error status. */
    28762876    AssertRC(rc);
    2877 
    2878     /* VMDK 1.0/1.1 version paranoia. */
    2879     for (unsigned i = 0; i < pImage->cExtents; i++)
    2880     {
    2881         pExtent = &pImage->pExtents[i];
    2882         if (    (   pExtent->uVersion != 3
    2883                  && (pImage->uImageFlags & VD_VMDK_IMAGE_FLAGS_STREAM_OPTIMIZED))
    2884             ||  (   pExtent->uVersion != 1
    2885                  && !(pImage->uImageFlags & VD_VMDK_IMAGE_FLAGS_STREAM_OPTIMIZED)))
    2886         {
    2887             rc = vmdkError(pImage, VERR_VD_VMDK_UNSUPPORTED_VERSION, RT_SRC_POS, N_("VMDK: inconsistent version in extent header in '%s', not a VMDK 1.0/1.1 conforming file"), pExtent->pszFullname);
    2888             goto out;
    2889         }
    2890     }
    28912877
    28922878    /* Determine PCHS geometry if not set. */
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