VirtualBox

Changeset 9599 in vbox


Ignore:
Timestamp:
Jun 11, 2008 11:26:09 AM (16 years ago)
Author:
vboxsync
Message:

Change the meaninf of VD_OPEN_FLAGS_INFO. The previous definition caused trouble by overoptimizing. Zero UUIDs for VMDK files created by VMware is not acceptable, as it breaks Main.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/VBoxHDD-new.h

    r9565 r9599  
    173173 * formats. It is silently ignored otherwise. */
    174174#define VD_OPEN_FLAGS_HONOR_SAME    RT_BIT(2)
    175 /** Do not perform the base/diff image check on open. This internally implies
    176  * opening the image as readonly. Images opened with this flag should only be
     175/** Do not perform the base/diff image check on open. This does NOT imply
     176 * opening the image as readonly (would break e.g. adding UUIDs to VMDK files
     177 * created by other products). Images opened with this flag should only be
    177178 * used for querying information, and nothing else. */
    178179#define VD_OPEN_FLAGS_INFO          RT_BIT(3)
  • trunk/src/VBox/Devices/Storage/VBoxHDD-new.cpp

    r9566 r9599  
    10441044                           ("uOpenFlags=%#x\n", uOpenFlags),
    10451045                           rc = VERR_INVALID_PARAMETER);
    1046 
    1047         /* Force readonly for images without base/diff consistency checking. */
    1048         if (uOpenFlags & VD_OPEN_FLAGS_INFO)
    1049             uOpenFlags |= VD_OPEN_FLAGS_READONLY;
    10501046
    10511047        /* Set up image descriptor. */
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