VirtualBox

Changeset 79017 in vbox


Ignore:
Timestamp:
Jun 6, 2019 8:19:10 AM (6 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
131165
Message:

VMM/HMVMXR0: Nested VMX: bugref:9180 Exception VM-exit handling.

File:
1 edited

Legend:

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

    r79015 r79017  
    1586815868            }
    1586915869
    15870             /* If it was a #PF and the nested-guest is not intercepting it, forward it to the guest. */
    15871             if (uVector == X86_XCPT_PF)
    15872             {
    15873                 if (pVCpu->CTX_SUFF(pVM)->hm.s.fNestedPaging)
    15874                 {
    15875                     rc  = hmR0VmxReadExitIntErrorCodeVmcs(pVmxTransient);
    15876                     rc |= hmR0VmxReadExitQualVmcs(pVCpu, pVmxTransient);
    15877                     AssertRCReturn(rc, rc);
    15878 
    15879                     hmR0VmxSetPendingEvent(pVCpu, VMX_ENTRY_INT_INFO_FROM_EXIT_INT_INFO(uExitIntInfo), 0 /* cbInstr */,
    15880                                            pVmxTransient->uExitIntErrorCode, pVmxTransient->uExitQual);
    15881                 }
    15882                 return hmR0VmxExitXcptPF(pVCpu, pVmxTransient);
    15883             }
    15884             break;
     15870            /* If the guest hypervisor is not intercepting the exception, forward it to the guest. */
     15871            hmR0VmxSetPendingEvent(pVCpu, VMX_ENTRY_INT_INFO_FROM_EXIT_INT_INFO(uExitIntInfo), pVmxTransient->cbInstr,
     15872                                   pVmxTransient->uExitIntErrorCode, pVmxTransient->uExitQual);
     15873            return VINF_SUCCESS;
    1588515874        }
    1588615875
     
    1590315892        }
    1590415893    }
    15905 
    15906     return VERR_NOT_IMPLEMENTED;
    1590715894}
    1590815895
Note: See TracChangeset for help on using the changeset viewer.

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