VirtualBox

儲存庫 vbox 的更動 15673


忽略:
時間撮記:
2008-12-18 下午11:28:00 (16 年 以前)
作者:
vboxsync
svn:sync-xref-src-repo-rev:
41220
訊息:

VDI: use VERR_VD_VDI_INVALID_HEADER instead of VERR_VD_VDI_INVALID_SIGNATURE. VDGetFormat uses the return codes to check fir valid images and woul break outside of the loop on non VDI images which have another format but the backend is behind the VDI backend

檔案:
修改 1 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/VBox/Devices/Storage/VDIHDDCore.cpp

    r15366 r15673  
    117117{
    118118    if (pPreHdr->u32Signature != VDI_IMAGE_SIGNATURE)
    119         return VERR_VD_VDI_INVALID_SIGNATURE;
     119        return VERR_VD_VDI_INVALID_HEADER;
    120120
    121121    if (    VDI_GET_VERSION_MAJOR(pPreHdr->u32Version) != VDI_IMAGE_VERSION_MAJOR
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

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