Changeset 33332 in vbox for trunk/src/VBox/Main
- Timestamp:
- Oct 22, 2010 9:27:23 AM (14 years ago)
- svn:sync-xref-src-repo-rev:
- 66913
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/ApplianceImplImport.cpp
r33320 r33332 1739 1739 SystemProperties *pSysProps = mVirtualBox->getSystemProperties(); 1740 1740 AutoReadLock propsLock(pSysProps COMMA_LOCKVAL_SRC_POS); 1741 // We are always exporting to VMDK stream optimized for now 1742 format = pSysProps->mediumFormat("VMDK"); 1741 Utf8Str strFormat = "VMDK"; 1742 if (strTargetPath.endsWith("vdi", Utf8Str::CaseInsensitive)) 1743 strFormat = "VDI"; 1744 else if (strTargetPath.endsWith("vhd", Utf8Str::CaseInsensitive)) 1745 strFormat = "VHD"; 1746 format = pSysProps->mediumFormat(strFormat); 1743 1747 if (format.isNull()) 1744 1748 throw setError(VBOX_E_NOT_SUPPORTED,
Note:
See TracChangeset
for help on using the changeset viewer.