Changeset 87051 in vbox for trunk/src/VBox/Storage
- Timestamp:
- Dec 8, 2020 1:08:59 PM (4 years ago)
- svn:sync-xref-src-repo-rev:
- 141808
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Storage/VMDK.cpp
r87050 r87051 3960 3960 /* else: We've got nothing to work on, so only do content comparison. */ 3961 3961 } 3962 3962 3963 3963 #elif defined(RT_OS_FREEBSD) 3964 3964 char szDriveDevName[256]; … … 4022 4022 N_("VMDK: Image path: '%s'. geom_gettree failed: %d"), pImage->pszFilename, err); 4023 4023 } 4024 4024 4025 4025 #elif defined(RT_OS_SOLARIS) 4026 4026 RT_NOREF(hVol); 4027 4027 4028 4028 dk_cinfo dkiDriveInfo; 4029 4029 dk_cinfo dkiPartInfo; … … 4067 4067 else 4068 4068 { 4069 /* 4070 * Manual says the efi_alloc_and_read returns VT_EINVAL if no EFI partition table found. 4071 * Actually, the function returns any error, e.g. VT_ERROR. Thus, we are not sure, is it 4069 /* 4070 * Manual says the efi_alloc_and_read returns VT_EINVAL if no EFI partition table found. 4071 * Actually, the function returns any error, e.g. VT_ERROR. Thus, we are not sure, is it 4072 4072 * real error or just no EFI table found. Therefore, let's try to obtain partition info 4073 4073 * using another way. If there is an error, it returns errno which will be handled below. 4074 4074 */ 4075 4075 4076 4076 uint32_t numPartition = (uint32_t)dkiPartInfo.dki_partition; 4077 4077 if (numPartition > NDKMAP) … … 4114 4114 pImage->pszFilename, idxPartition, pPartDesc->pszRawDevice, pszRawDrive, cbSize, pPartDesc->cbData); 4115 4115 } 4116 4116 4117 4117 #else 4118 4118 RT_NOREF(hVol); /* PORTME */
Note:
See TracChangeset
for help on using the changeset viewer.