VirtualBox

Ignore:
Timestamp:
Sep 9, 2014 5:22:26 PM (10 years ago)
Author:
vboxsync
Message:

VMM/IEM: Reset TRPM only when IEM successfully injects the trap. Regression exposed by r95968.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/IEMAll.cpp

    r52395 r52659  
    1095210952        return rc;
    1095310953
    10954     TRPMResetTrap(pVCpu);
    10955     return IEMInjectTrap(pVCpu, u8TrapNo, enmType, uErrCode, uCr2, cbInstr);
     10954    VBOXSTRICTRC rcStrict = IEMInjectTrap(pVCpu, u8TrapNo, enmType, uErrCode, uCr2, cbInstr);
     10955    if (rcStrict == VINF_SUCCESS)
     10956        TRPMResetTrap(pVCpu);
     10957    return rcStrict;
    1095610958#endif
    1095710959}
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