Changeset 34829 in vbox
- Timestamp:
- Dec 8, 2010 12:17:46 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxManage/VBoxManageDisk.cpp
r34634 r34829 1053 1053 hardDisk->COMGETTER(Format)(format.asOutParam()); 1054 1054 RTPrintf("Storage format: %lS\n", format.raw()); 1055 MediumVariant_T variant; 1056 hardDisk->COMGETTER(Variant)(&variant); 1057 const char *variantStr = "unknown"; 1058 switch (variant & ~(MediumVariant_Fixed | MediumVariant_Diff)) 1059 { 1060 case MediumVariant_VmdkSplit2G: 1061 variantStr = "split2G"; 1062 break; 1063 case MediumVariant_VmdkStreamOptimized: 1064 variantStr = "streamOptimized"; 1065 break; 1066 case MediumVariant_VmdkESX: 1067 variantStr = "ESX"; 1068 break; 1069 case MediumVariant_Standard: 1070 variantStr = "default"; 1071 break; 1072 } 1073 const char *variantTypeStr = "dynamic"; 1074 if (variant & MediumVariant_Fixed) 1075 variantTypeStr = "fixed"; 1076 else if (variant & MediumVariant_Diff) 1077 variantTypeStr = "differencing"; 1078 RTPrintf("Format variant: %s %s\n", variantTypeStr, variantStr); 1055 1079 1056 1080 /// @todo also dump config parameters (iSCSI)
Note:
See TracChangeset
for help on using the changeset viewer.