VirtualBox

忽略:
時間撮記:
2008-10-15 下午08:55:16 (16 年 以前)
作者:
vboxsync
訊息:

Storage: Replace the assertions in the construction code with runtime errors because it is possible that hard disks are not accessible. Also fix a assertion because of a unitiallized semaphore in the IDE controller code

檔案:
修改 1 筆資料

圖例:

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

    r12892 r13303  
    811811        else
    812812        {
    813            AssertMsgFailed(("Failed to open image '%s' rc=%Rrc\n", pszName, rc));
     813           rc = PDMDrvHlpVMSetError(pDrvIns, rc, RT_SRC_POS,
     814                                    N_("Failed to open image '%s' in %s mode rc=%Rrc\n"), pszName,
     815                                    (uOpenFlags & VD_OPEN_FLAGS_READONLY) ? "readonly" : "read-write", rc);
    814816           break;
    815817        }
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

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