Changeset 31184 in vbox
- Timestamp:
- Jul 28, 2010 8:23:47 PM (14 years ago)
- Location:
- trunk/src/VBox/Devices/Storage
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Storage/ParallelsHDDCore.cpp
r30864 r31184 882 882 /* Image must be opened and the new flags must be valid. Just readonly and 883 883 * info flags are supported. */ 884 if (!pImage || (uOpenFlags & ~(VD_OPEN_FLAGS_READONLY | VD_OPEN_FLAGS_INFO )))884 if (!pImage || (uOpenFlags & ~(VD_OPEN_FLAGS_READONLY | VD_OPEN_FLAGS_INFO | VD_OPEN_FLAGS_SHAREABLE))) 885 885 { 886 886 rc = VERR_INVALID_PARAMETER; -
trunk/src/VBox/Devices/Storage/VDIHDDCore.cpp
r31180 r31184 883 883 &pImage->Header.u.v0, sizeof(pImage->Header.u.v0), 884 884 pIoCtx); 885 885 886 break; 886 887 case 1: … … 1667 1668 /* Image must be opened and the new flags must be valid. Just readonly and 1668 1669 * info flags are supported. */ 1669 if (!pImage || (uOpenFlags & ~(VD_OPEN_FLAGS_READONLY | VD_OPEN_FLAGS_INFO | VD_OPEN_FLAGS_ASYNC_IO )))1670 if (!pImage || (uOpenFlags & ~(VD_OPEN_FLAGS_READONLY | VD_OPEN_FLAGS_INFO | VD_OPEN_FLAGS_ASYNC_IO | VD_OPEN_FLAGS_SHAREABLE))) 1670 1671 { 1671 1672 rc = VERR_INVALID_PARAMETER; -
trunk/src/VBox/Devices/Storage/VHDHDDCore.cpp
r31180 r31184 1089 1089 /* Image must be opened and the new flags must be valid. Just readonly and 1090 1090 * info flags are supported. */ 1091 if (!pImage || (uOpenFlags & ~(VD_OPEN_FLAGS_READONLY | VD_OPEN_FLAGS_INFO )))1091 if (!pImage || (uOpenFlags & ~(VD_OPEN_FLAGS_READONLY | VD_OPEN_FLAGS_INFO | VD_OPEN_FLAGS_SHAREABLE))) 1092 1092 { 1093 1093 rc = VERR_INVALID_PARAMETER; -
trunk/src/VBox/Devices/Storage/VmdkHDDCore.cpp
r31180 r31184 2669 2669 RTMemFree(pszDescriptor); 2670 2670 return rc; 2671 2671 2672 } 2672 2673 … … 5661 5662 goto out; 5662 5663 } 5664 5663 5665 5664 5666 /* Clip read range to remain in this extent. */ … … 6145 6147 /* Image must be opened and the new flags must be valid. Just readonly and 6146 6148 * info flags are supported. */ 6147 if (!pImage || (uOpenFlags & ~(VD_OPEN_FLAGS_READONLY | VD_OPEN_FLAGS_INFO | VD_OPEN_FLAGS_ASYNC_IO )))6149 if (!pImage || (uOpenFlags & ~(VD_OPEN_FLAGS_READONLY | VD_OPEN_FLAGS_INFO | VD_OPEN_FLAGS_ASYNC_IO | VD_OPEN_FLAGS_SHAREABLE))) 6148 6150 { 6149 6151 rc = VERR_INVALID_PARAMETER;
Note:
See TracChangeset
for help on using the changeset viewer.