Changeset 12771 in vbox for trunk/src/VBox/Devices
- Timestamp:
- Sep 26, 2008 3:28:42 PM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 37109
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Storage/VBoxHDD-new.cpp
r12639 r12771 2067 2067 2068 2068 /* Open the source image in the destination container. */ 2069 /** @todo fix open flags - the flags in pImageFrom are not the right info, the info from the image format backend is relevant */ 2069 2070 rc = VDOpen(pDiskTo, pImageFrom->Backend->pszBackendName, pImageFrom->pszFilename, pImageFrom->uOpenFlags, pDstVDIfsImage); 2070 2071 if (RT_FAILURE(rc)) … … 2137 2138 { 2138 2139 rc = VDCreateDiff(pDiskTo, pszBackend, pszFilename, uImageFlagsFrom, 2139 "", NULL, uOpenFlagsFrom , NULL, NULL);2140 "", NULL, uOpenFlagsFrom & ~VD_OPEN_FLAGS_READONLY, NULL, NULL); 2140 2141 } else { 2141 2142 rc = VDCreateBase(pDiskTo, pszBackend, pszFilename, enmTypeFrom, 2142 2143 cbSize, uImageFlagsFrom, "", 2143 2144 &PCHSGeometryFrom, &LCHSGeometryFrom, 2144 NULL, uOpenFlagsFrom , NULL, NULL);2145 NULL, uOpenFlagsFrom & ~VD_OPEN_FLAGS_READONLY, NULL, NULL); 2145 2146 } 2146 2147 if (RT_FAILURE(rc))
Note:
See TracChangeset
for help on using the changeset viewer.