- Timestamp:
- Feb 17, 2009 5:48:42 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Storage/VmdkHDDCore.cpp
r16827 r16871 2875 2875 /* Make sure this is not reached accidentally with an error status. */ 2876 2876 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 != 32883 && (pImage->uImageFlags & VD_VMDK_IMAGE_FLAGS_STREAM_OPTIMIZED))2884 || ( pExtent->uVersion != 12885 && !(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 }2891 2877 2892 2878 /* Determine PCHS geometry if not set. */
Note:
See TracChangeset
for help on using the changeset viewer.