VirtualBox

Ignore:
Timestamp:
Sep 10, 2008 4:21:34 PM (16 years ago)
Author:
vboxsync
Message:

Storage/VMDK: disable paranoid size check because there are vmdks out there which are accepted by vmware despite they're too short.

File:
1 edited

Legend:

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

    r12353 r12367  
    21242124        goto out;
    21252125    }
     2126/* disabled the size check again as there are too many too short vmdks out there */
     2127#ifdef VBOX_WITH_VMDK_STRICT_SIZE_CHECK
    21262128    if (    cbExtentSize != RT_ALIGN_64(cbExtentSize, 512)
    21272129        &&  (pExtent->enmType != VMDKETYPE_FLAT || pExtent->cNominalSectors + pExtent->uSectorOffset > VMDK_BYTE2SECTOR(cbExtentSize)))
     
    21302132        goto out;
    21312133    }
     2134#endif /* VBOX_WITH_VMDK_STRICT_SIZE_CHECK */
    21322135    if (pExtent->enmType != VMDKETYPE_HOSTED_SPARSE)
    21332136        goto out;
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