VirtualBox

Ignore:
Timestamp:
Jun 9, 2008 10:12:30 AM (16 years ago)
Author:
vboxsync
Message:

fixes in setparentuuid and read/write to support diff images.

File:
1 edited

Legend:

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

    r9263 r9528  
    812812    if (   !VALID_PTR(pszFilename)
    813813        || !*pszFilename
    814         || (enmType != VD_IMAGE_TYPE_NORMAL && enmType != VD_IMAGE_TYPE_FIXED)
     814        || (enmType != VD_IMAGE_TYPE_NORMAL && enmType != VD_IMAGE_TYPE_FIXED
     815            && enmType != VD_IMAGE_TYPE_DIFF)
    815816        || cbSize < VDI_IMAGE_DEFAULT_BLOCK_SIZE
    816817        || !VALID_PTR(pPCHSGeometry)
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