Changeset 42571 in vbox
- Timestamp:
- Aug 3, 2012 10:02:51 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-client/ConsoleImpl2.cpp
r42551 r42571 3102 3102 if (!mfSnapshotFolderDiskTypeShown) 3103 3103 { 3104 LogRel(("File system of '%s' (snapshots) is %s\n", utfSnap.c_str(), RTFsTypeName(enmFsTypeSnap))); 3104 LogRel(("File system of '%s' (snapshots) is %s\n", 3105 utfSnap.c_str(), RTFsTypeName(enmFsTypeSnap))); 3105 3106 mfSnapshotFolderDiskTypeShown = true; 3106 3107 } … … 3249 3250 } 3250 3251 } 3252 3253 if ( pMedium 3254 && ( lType == DeviceType_DVD 3255 || lType == DeviceType_Floppy)) 3256 { 3257 /* 3258 * Informative logging. 3259 */ 3260 ComPtr<IMediumFormat> pMediumFormat; 3261 hrc = pMedium->COMGETTER(MediumFormat)(pMediumFormat.asOutParam()); H(); 3262 ULONG uCaps; 3263 hrc = pMediumFormat->COMGETTER(Capabilities)(&uCaps); H(); 3264 if (uCaps & MediumFormatCapabilities_File) 3265 { 3266 Bstr strFile; 3267 hrc = pMedium->COMGETTER(Location)(strFile.asOutParam()); H(); 3268 Utf8Str utfFile = Utf8Str(strFile); 3269 RTFSTYPE enmFsTypeFile = RTFSTYPE_UNKNOWN; 3270 (void)RTFsQueryType(utfFile.c_str(), &enmFsTypeFile); 3271 LogRel(("File system of '%s' (%s) is %s\n", 3272 utfFile.c_str(), lType == DeviceType_DVD ? "DVD" : "Floppy", 3273 RTFsTypeName(enmFsTypeFile))); 3274 } 3275 } 3251 3276 3252 3277 BOOL fPassthrough;
Note:
See TracChangeset
for help on using the changeset viewer.