Changeset 12367 in vbox for trunk/src/VBox/Devices/Storage
- Timestamp:
- Sep 10, 2008 4:21:34 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Storage/VmdkHDDCore.cpp
r12353 r12367 2124 2124 goto out; 2125 2125 } 2126 /* disabled the size check again as there are too many too short vmdks out there */ 2127 #ifdef VBOX_WITH_VMDK_STRICT_SIZE_CHECK 2126 2128 if ( cbExtentSize != RT_ALIGN_64(cbExtentSize, 512) 2127 2129 && (pExtent->enmType != VMDKETYPE_FLAT || pExtent->cNominalSectors + pExtent->uSectorOffset > VMDK_BYTE2SECTOR(cbExtentSize))) … … 2130 2132 goto out; 2131 2133 } 2134 #endif /* VBOX_WITH_VMDK_STRICT_SIZE_CHECK */ 2132 2135 if (pExtent->enmType != VMDKETYPE_HOSTED_SPARSE) 2133 2136 goto out;
Note:
See TracChangeset
for help on using the changeset viewer.