VirtualBox

Ignore:
Timestamp:
Apr 24, 2013 5:37:24 PM (12 years ago)
Author:
vboxsync
Message:

VMM/HMVMXR0: Theoretically possibly to miss a CR2 update when we should.

File:
1 edited

Legend:

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

    r45712 r45715  
    88038803        if (RT_LIKELY(!pVmxTransient->fVectoringPF))
    88048804        {
    8805             pVCpu->hm.s.Event.fPending = false;     /* In case it's a contributory #PF. */
     8805            pVCpu->hm.s.Event.fPending = false;                  /* In case it's a contributory #PF. */
     8806            pMixedCtx->cr2 = pVmxTransient->uExitQualification;  /* Update here in case we go back to ring-3 before injection. */
    88068807            hmR0VmxSetPendingEvent(pVCpu, VMX_VMCS_CTRL_ENTRY_IRQ_INFO_FROM_EXIT_INT_INFO(pVmxTransient->uExitIntrInfo),
    88078808                                   0 /* cbInstr */, pVmxTransient->uExitIntrErrorCode, pVmxTransient->uExitQualification);
     
    88828883            uint32_t uGstErrorCode = TRPMGetErrorCode(pVCpu);
    88838884            TRPMResetTrap(pVCpu);
    8884             pVCpu->hm.s.Event.fPending = false;     /* In case it's a contributory #PF. */
     8885            pVCpu->hm.s.Event.fPending = false;                 /* In case it's a contributory #PF. */
     8886            pMixedCtx->cr2 = pVmxTransient->uExitQualification; /* Update here in case we go back to ring-3 before injection. */
    88858887            hmR0VmxSetPendingEvent(pVCpu, VMX_VMCS_CTRL_ENTRY_IRQ_INFO_FROM_EXIT_INT_INFO(pVmxTransient->uExitIntrInfo),
    88868888                                   0 /* cbInstr */, uGstErrorCode, pVmxTransient->uExitQualification);
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