Changeset 16963 in vbox for trunk/src/VBox/Devices/Storage
- Timestamp:
- Feb 20, 2009 2:16:49 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Storage/VBoxHDD.cpp
r16962 r16963 2016 2016 szComment, &ImageUuid, &ParentUuid, uOpenFlagsFrom & ~VD_OPEN_FLAGS_READONLY, NULL, NULL); 2017 2017 } else { 2018 rc = VDCreateBase(pDiskTo, pszBackend, pszFilename, enmTypeFrom, 2018 VDIMAGETYPE enmTypeTo = enmTypeFrom; /** @todo Please, review this! It's an ugly hack I think... */ 2019 if ( !strcmp(pszBackend, "RAW") 2020 && enmTypeTo != VD_IMAGE_TYPE_FIXED) 2021 enmTypeTo = VD_IMAGE_TYPE_FIXED; 2022 2023 rc = VDCreateBase(pDiskTo, pszBackend, pszFilename, enmTypeTo, 2019 2024 cbSize, uImageFlagsFrom, szComment, 2020 2025 &PCHSGeometryFrom, &LCHSGeometryFrom,
Note:
See TracChangeset
for help on using the changeset viewer.