Changeset 9599 in vbox
- Timestamp:
- Jun 11, 2008 11:26:09 AM (16 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
-
include/VBox/VBoxHDD-new.h (modified) (1 diff)
-
src/VBox/Devices/Storage/VBoxHDD-new.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/VBoxHDD-new.h
r9565 r9599 173 173 * formats. It is silently ignored otherwise. */ 174 174 #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 177 178 * used for querying information, and nothing else. */ 178 179 #define VD_OPEN_FLAGS_INFO RT_BIT(3) -
trunk/src/VBox/Devices/Storage/VBoxHDD-new.cpp
r9566 r9599 1044 1044 ("uOpenFlags=%#x\n", uOpenFlags), 1045 1045 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;1050 1046 1051 1047 /* Set up image descriptor. */
Note:
See TracChangeset
for help on using the changeset viewer.

