VirtualBox

Changeset 48041 in vbox for trunk/src/VBox/VMM/VMMR0


Ignore:
Timestamp:
Aug 24, 2013 12:04:14 PM (11 years ago)
Author:
vboxsync
Message:

VMM/HMVMXR0: Don't play safe when we have assertions to catch things.

File:
1 edited

Legend:

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

    r48040 r48041  
    68026802                    pMixedCtx->cr2 = GCPtrFaultAddress;
    68036803                }
     6804
     6805                /* If any other guest-state bits are changed here, make sure to update
     6806                   hmR0VmxPreRunGuestCommitted() when thread-context hooks are used. */
    68046807                pVCpu->hm.s.fContextUseFlags |=   HM_CHANGED_GUEST_SEGMENT_REGS
    68056808                                                | HM_CHANGED_GUEST_RIP
     
    74177420         * If we are injecting events real-on-v86 mode guest then we potentially have to update
    74187421         * RIP and other registers, i.e. hmR0VmxPreRunGuest()->hmR0VmxInjectPendingEvent().
    7419          * Just reload the state here if we're in real-on-v86 mode.
     7422         * Reload only the necessary state, the assertion will catch if other parts of the code
     7423         * change.
    74207424         */
    74217425        if (pVCpu->hm.s.vmx.RealMode.fRealOnV86Active)
    7422             hmR0VmxLoadGuestStateOptimal(pVM, pVCpu, pMixedCtx);
     7426        {
     7427            hmR0VmxLoadGuestRipRspRflags(pVCpu, pMixedCtx);
     7428            hmR0VmxLoadGuestSegmentRegs(pVCpu, pMixedCtx);
     7429        }
    74237430    }
    74247431
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