VirtualBox

Changeset 80507 in vbox


Ignore:
Timestamp:
Aug 30, 2019 6:27:07 AM (5 years ago)
Author:
vboxsync
Message:

VMM/EM: Add an assertion for VINF_EM_RAW_EMULATE_INSTR and VINF_EM_RAW_GUEST_TRAP that we don't have TRPM events pending. Creates really hard to debug issues otherwise!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/include/EMHandleRCTmpl.h

    r80016 r80507  
    156156        case VINF_EM_RAW_GUEST_TRAP:
    157157        case VINF_EM_RAW_EMULATE_INSTR:
     158            Assert(!TRPMHasTrap(pVCpu)); /* We're directly executing instructions below without respecting any pending traps! */
    158159            rc = emR3ExecuteInstruction(pVM, pVCpu, "EMUL: ");
    159160            break;
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