VirtualBox

Changeset 66702 in vbox


Ignore:
Timestamp:
Apr 27, 2017 5:04:37 PM (7 years ago)
Author:
vboxsync
Message:

VMM/HMVMXR0: Nit and a todo.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp

    r66701 r66702  
    58785878static VBOXSTRICTRC hmR0VmxCheckExitDueToEventDelivery(PVMCPU pVCpu, PCPUMCTX pMixedCtx, PVMXTRANSIENT pVmxTransient)
    58795879{
    5880     uint32_t uExitVector = VMX_EXIT_INTERRUPTION_INFO_VECTOR(pVmxTransient->uExitIntInfo);
     5880    uint32_t const uExitVector = VMX_EXIT_INTERRUPTION_INFO_VECTOR(pVmxTransient->uExitIntInfo);
    58815881
    58825882    int rc2 = hmR0VmxReadIdtVectoringInfoVmcs(pVmxTransient);       AssertRCReturn(rc2, rc2);
     
    58865886    if (VMX_IDT_VECTORING_INFO_VALID(pVmxTransient->uIdtVectoringInfo))
    58875887    {
    5888         uint32_t uIdtVectorType = VMX_IDT_VECTORING_INFO_TYPE(pVmxTransient->uIdtVectoringInfo);
    5889         uint32_t uIdtVector     = VMX_IDT_VECTORING_INFO_VECTOR(pVmxTransient->uIdtVectoringInfo);
     5888        uint32_t const uIdtVectorType = VMX_IDT_VECTORING_INFO_TYPE(pVmxTransient->uIdtVectoringInfo);
     5889        uint32_t const uIdtVector     = VMX_IDT_VECTORING_INFO_VECTOR(pVmxTransient->uIdtVectoringInfo);
    58905890#if 1
    58915891        /* See Intel spec. 30.7.1.1 "Reflecting Exceptions to Guest Software". */
     
    1157511575                     && uVector != X86_XCPT_AC)
    1157611576            {
     11577                /** @todo Why do we need to fallback to the interpreter here?  */
    1157711578                STAM_COUNTER_INC(&pVCpu->hm.s.StatInjectPendingInterpret);
    1157811579                rc = VERR_EM_INTERPRETER;
Note: See TracChangeset for help on using the changeset viewer.

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