Changeset 2591 in vbox
- Timestamp:
- May 11, 2007 12:22:46 PM (18 years ago)
- svn:sync-xref-src-repo-rev:
- 21089
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/VBoxHDD-new.h
r2358 r2591 100 100 */ 101 101 /** Try to open image in read/write exclusive access mode if possible, or in read-only elsewhere. */ 102 #define VD_OPEN_FLAGS_NORMAL (0)102 #define VD_OPEN_FLAGS_NORMAL 0 103 103 /** Open image in read-only mode with sharing access with others. */ 104 #define VD_OPEN_FLAGS_READONLY (1)104 #define VD_OPEN_FLAGS_READONLY RT_BIT(0) 105 105 /** Honor zero block writes instead of ignoring them whenever possible. 106 106 * This is not supported by all formats. It is silently ignored in this case. */ 107 #define VD_OPEN_FLAGS_HONOR_ZEROES (2) 107 #define VD_OPEN_FLAGS_HONOR_ZEROES RT_BIT(1) 108 /** Honor writes of the same data instead of ignoring whenever possible. 109 * This is handled generically, and is only meaningful for differential image 110 * formats. It is silently ignored otherwise. */ 111 #define VD_OPEN_FLAGS_HONOR_SAME RT_BIT(2) 108 112 /** Mask of valid flags. */ 109 #define VD_OPEN_FLAGS_MASK (VD_OPEN_FLAGS_NORMAL | VD_OPEN_FLAGS_READONLY | VD_OPEN_FLAGS_HONOR_ZEROES )113 #define VD_OPEN_FLAGS_MASK (VD_OPEN_FLAGS_NORMAL | VD_OPEN_FLAGS_READONLY | VD_OPEN_FLAGS_HONOR_ZEROES | VD_OPEN_FLAGS_HONOR_SAME) 110 114 /** @}*/ 111 115
Note:
See TracChangeset
for help on using the changeset viewer.