VirtualBox

儲存庫 vbox 的更動 35553


忽略:
時間撮記:
2011-1-14 上午12:02:56 (14 年 以前)
作者:
vboxsync
訊息:

Main/Medium: Query the capabilites of the target format used for the diff image and not the capabilities of the image we create the diff for. Fixes creating snapshots of images which don't support diff images (Raw for example)

檔案:
修改 1 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/VBox/Main/src-server/MediumImpl.cpp

    r35368 r35553  
    61906190        Utf8Str targetFormat(pTarget->m->strFormat);
    61916191        Utf8Str targetLocation(pTarget->m->strLocationFull);
    6192         uint64_t capabilities = m->formatObj->getCapabilities();
     6192        uint64_t capabilities = pTarget->m->formatObj->getCapabilities();
    61936193        ComAssertThrow(capabilities & VD_CAP_CREATE_DYNAMIC, E_FAIL);
    61946194
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

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