VirtualBox

Changeset 67026 in vbox for trunk/src/VBox


Ignore:
Timestamp:
May 23, 2017 7:49:33 AM (8 years ago)
Author:
vboxsync
Message:

VMM/HMVMXR0: Fixes in event reflection with pending events.

File:
1 edited

Legend:

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

    r67025 r67026  
    1158111581        case VMX_EXIT_INTERRUPTION_INFO_TYPE_HW_XCPT:
    1158211582        {
    11583 #if 0
    1158411583            /*
    11585              * If there's any exception caused as a result of event injection, go back to
    11586              * the interpreter. The page-fault case is complicated and we manually handle
    11587              * any currently pending event in hmR0VmxExitXcptPF. Nested #ACs are already
    11588              * handled in hmR0VmxCheckExitDueToEventDelivery.
     11584             * If there's any exception caused as a result of event injection, the resulting
     11585             * secondary/final execption will be pending, we shall continue guest execution
     11586             * after injecting the event. The page-fault case is complicated and we manually
     11587             * handle any currently pending event in hmR0VmxExitXcptPF.
    1158911588             */
    1159011589            if (!pVCpu->hm.s.Event.fPending)
    1159111590            { /* likely */ }
    11592             else if (   uVector != X86_XCPT_PF
    11593                      && uVector != X86_XCPT_AC)
     11591            else if (uVector != X86_XCPT_PF)
    1159411592            {
    11595                 /** @todo Why do we need to fallback to the interpreter here?  */
    11596                 STAM_COUNTER_INC(&pVCpu->hm.s.StatInjectPendingInterpret);
    11597                 /** @todo return VINF_EM_RAW_INJECT_TRPM_EVENT? */
    11598                 rc = VERR_EM_INTERPRETER;
     11593                rc = VINF_SUCCESS;
    1159911594                break;
    1160011595            }
    11601 #endif
    1160211596
    1160311597            switch (uVector)
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