VirtualBox

Changeset 67783 in vbox


Ignore:
Timestamp:
Jul 5, 2017 4:09:04 AM (8 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
116700
Message:

VMM/HMVMXR0: Don't assert about error code for exceptions when in real-mode in hmR0VmxInjectEventVmcs.

File:
1 edited

Legend:

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

    r67136 r67783  
    82428242            case X86_XCPT_GP:
    82438243            case X86_XCPT_AC:
    8244                 AssertMsg(VMX_EXIT_INTERRUPTION_INFO_ERROR_CODE_IS_VALID(u32IntInfo),
    8245                           ("Error-code-valid bit not set for exception that has an error code uVector=%#x\n", uVector));
     8244                /* No error codes for exceptions in real-mode. See Intel spec. 20.1.4 "Interrupt and Exception Handling" */
     8245                if (!CPUMIsGuestInRealModeEx(pMixedCtx))
     8246                    AssertMsg(VMX_EXIT_INTERRUPTION_INFO_ERROR_CODE_IS_VALID(u32IntInfo),
     8247                              ("Error-code-valid bit not set for exception that has an error code uVector=%#x\n", uVector));
    82468248                /* fall thru */
    82478249            default:
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