VirtualBox

儲存庫 vbox 的更動 12079


忽略:
時間撮記:
2008-9-4 上午09:35:39 (16 年 以前)
作者:
vboxsync
訊息:

More specific error messages for unexpected VT-x failures.

位置:
trunk
檔案:
修改 3 筆資料

圖例:

未更動
新增
刪除
  • trunk/include/VBox/err.h

    r11046 r12079  
    12141214/** VT-x features locked or unavailable in MSR. */
    12151215#define VERR_VMX_MSR_LOCKED_OR_DISABLED             (-4013)
     1216/** Unable to switch due to invalid guest state. */
     1217#define VERR_VMX_INVALID_GUEST_STATE                (-4014)
     1218/** Unexpected VM exit code. */
     1219#define VERR_VMX_UNEXPECTED_EXIT_CODE               (-4015)
     1220/** Unexpected VM exception code. */
     1221#define VERR_VMX_UNEXPECTED_EXCEPTION               (-4016)
     1222/** Unexpected interruption exit code. */
     1223#define VERR_VMX_UNEXPECTED_INTERRUPTION_EXIT_CODE  (-4017)
    12161224/** @} */
    12171225
  • trunk/src/VBox/VMM/EM.cpp

    r12068 r12079  
    22932293        case VERR_VMX_INVALID_VMCS_PTR:
    22942294        case VERR_VMX_INVALID_VMXON_PTR:
     2295        case VERR_VMX_UNEXPECTED_INTERRUPTION_EXIT_CODE:
     2296        case VERR_VMX_UNEXPECTED_EXCEPTION:
     2297        case VERR_VMX_UNEXPECTED_EXIT_CODE:
     2298        case VERR_VMX_INVALID_GUEST_STATE:
    22952299            HWACCMR3CheckError(pVM, rc);
    22962300            break;
  • trunk/src/VBox/VMM/VMMR0/HWVMXR0.cpp

    r12068 r12079  
    17521752            default:
    17531753                AssertMsgFailed(("Unexpected vm-exit caused by exception %x\n", vector));
    1754                 rc = VERR_EM_INTERNAL_ERROR;
     1754                rc = VERR_VMX_UNEXPECTED_EXCEPTION;
    17551755                break;
    17561756            } /* switch (vector) */
     
    17591759
    17601760        default:
    1761             rc = VERR_EM_INTERNAL_ERROR;
     1761            rc = VERR_VMX_UNEXPECTED_INTERRUPTION_EXIT_CODE;
    17621762            AssertFailed();
    17631763            break;
     
    22082208        Log(("VMX_VMCS_GUEST_IDTR_BASE    %VGv\n", val));
    22092209#endif /* VBOX_STRICT */
    2210         rc = VERR_EM_INTERNAL_ERROR;
     2210        rc = VERR_VMX_INVALID_GUEST_STATE;
    22112211        break;
    22122212    }
     
    22152215    case VMX_EXIT_ERR_MACHINE_CHECK:    /* 41 VM-entry failure due to machine-check. */
    22162216    default:
    2217         rc = VERR_EM_INTERNAL_ERROR;
     2217        rc = VERR_VMX_UNEXPECTED_EXIT_CODE;
    22182218        AssertMsgFailed(("Unexpected exit code %d\n", exitReason));                 /* Can't happen. */
    22192219        break;
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

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