VirtualBox

忽略:
時間撮記:
2008-11-14 下午05:55:28 (16 年 以前)
作者:
vboxsync
訊息:

Main: Use the parent's hard disk format when implicitly creating differencing hard disks (or the default hard disk format if the parent format doesn't support differencing).

檔案:
修改 1 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/VBox/Main/MachineImpl.cpp

    r14142 r14225  
    21312131        }
    21322132
    2133         /// @todo NEWMEDIA use the proper storage format (either the parent
    2134         /// storage type or the ISystemProperties::defaultHardDiskFormat)
    21352133        ComObjPtr <HardDisk2> diff;
    21362134        diff.createObject();
    2137         rc = diff->init (mParent, Bstr ("VDI"),
     2135        rc = diff->init (mParent, hd->preferredDiffFormat(),
    21382136                         BstrFmt ("%ls"RTPATH_SLASH_STR,
    21392137                                  mUserData->mSnapshotFolderFull.raw()));
     
    68626860            CheckComRCThrowRC (rc);
    68636861
    6864             /// @todo NEWMEDIA use the proper storage format (either the parent
    6865             /// storage type or the ISystemProperties::defaultHardDiskFormat)
    68666862            ComObjPtr <HardDisk2> diff;
    68676863            diff.createObject();
    6868             rc = diff->init (mParent, Bstr ("VDI"),
     6864            rc = diff->init (mParent, hd->preferredDiffFormat(),
    68696865                             BstrFmt ("%ls"RTPATH_SLASH_STR,
    68706866                                      mUserData->mSnapshotFolderFull.raw()));
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette