Changeset 31258 in vbox for trunk/src/VBox/Devices/Storage
- Timestamp:
- Jul 30, 2010 6:26:09 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 64274
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Storage/VBoxHDD.cpp
r31185 r31258 3383 3383 } 3384 3384 } 3385 3386 /* Ensure we always get correct diff information, even if the backend 3387 * doesn't actually have a stored flag for this. It must not return 3388 * bogus information for the parent UUID if it is not a diff image. */ 3389 RTUUID parentUuid; 3390 RTUuidClear(&parentUuid); 3391 rc2 = pImage->Backend->pfnGetParentUuid(pImage->pvBackendData, &parentUuid); 3392 if (RT_SUCCESS(rc2) && !RTUuidIsNull(&parentUuid)) 3393 uImageFlags |= VD_IMAGE_FLAGS_DIFF; 3394 3385 3395 pImage->uImageFlags = uImageFlags; 3386 3396 … … 5766 5776 AssertPtrBreakStmt(pImage, rc = VERR_VD_IMAGE_NOT_FOUND); 5767 5777 5768 *puImageFlags = pImage-> Backend->pfnGetImageFlags(pImage->pvBackendData);5778 *puImageFlags = pImage->uImageFlags; 5769 5779 } while (0); 5770 5780
Note:
See TracChangeset
for help on using the changeset viewer.