Changeset 15566 in vbox for trunk/src/VBox/Devices/Storage/VBoxHDD-new.cpp
- Timestamp:
- Dec 16, 2008 9:46:22 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Storage/VBoxHDD-new.cpp
r15542 r15566 46 46 47 47 /** Buffer size used for merging images. */ 48 #define VD_MERGE_BUFFER_SIZE (1 024 * 1024)48 #define VD_MERGE_BUFFER_SIZE (16 * _1M) 49 49 50 50 /** … … 1971 1971 rc = pImageFrom->Backend->pfnGetUuid(pImageFrom->pvBackendData, &ImageUuid); 1972 1972 if (RT_FAILURE(rc)) 1973 RTUuidC lear(&ImageUuid);1973 RTUuidCreate(&ImageUuid); 1974 1974 } 1975 1975 rc = pImageFrom->Backend->pfnGetModificationUuid(pImageFrom->pvBackendData, &ImageModificationUuid); … … 2007 2007 NULL, uOpenFlagsFrom & ~VD_OPEN_FLAGS_READONLY, NULL, NULL); 2008 2008 if (!RTUuidIsNull(&ImageUuid)) 2009 p ImageFrom->Backend->pfnSetUuid(pImageFrom->pvBackendData, &ImageUuid);2009 pDiskTo->pLast->Backend->pfnSetUuid(pDiskTo->pLast->pvBackendData, &ImageUuid); 2010 2010 } 2011 2011 if (RT_FAILURE(rc)) … … 2064 2064 if (RT_SUCCESS(rc)) 2065 2065 { 2066 pImage From->Backend->pfnSetModificationUuid(pImageFrom->pvBackendData, &ImageModificationUuid);2067 pImage From->Backend->pfnGetParentUuid(pImageFrom->pvBackendData, &ParentUuid);2068 pImage From->Backend->pfnGetParentModificationUuid(pImageFrom->pvBackendData, &ParentModificationUuid);2066 pImageTo->Backend->pfnSetModificationUuid(pImageTo->pvBackendData, &ImageModificationUuid); 2067 pImageTo->Backend->pfnGetParentUuid(pImageTo->pvBackendData, &ParentUuid); 2068 pImageTo->Backend->pfnGetParentModificationUuid(pImageTo->pvBackendData, &ParentModificationUuid); 2069 2069 } 2070 2070 } while (0);
Note:
See TracChangeset
for help on using the changeset viewer.