Changeset 67784 in vbox for trunk/src/VBox/VMM/VMMR0
- Timestamp:
- Jul 5, 2017 4:11:45 AM (8 years ago)
- svn:sync-xref-src-repo-rev:
- 116701
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp
r67783 r67784 8230 8230 8231 8231 #ifdef VBOX_STRICT 8232 /* Validate the error-code-valid bit for hardware exceptions. */ 8233 if (uIntType == VMX_EXIT_INTERRUPTION_INFO_TYPE_HW_XCPT) 8232 /* 8233 * Validate the error-code-valid bit for hardware exceptions. 8234 * No error codes for exceptions in real-mode. See Intel spec. 20.1.4 "Interrupt and Exception Handling" 8235 */ 8236 if ( uIntType == VMX_EXIT_INTERRUPTION_INFO_TYPE_HW_XCPT 8237 && !CPUMIsGuestInRealModeEx(pMixedCtx)) 8234 8238 { 8235 8239 switch (uVector) … … 8242 8246 case X86_XCPT_GP: 8243 8247 case X86_XCPT_AC: 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)); 8248 AssertMsg(VMX_EXIT_INTERRUPTION_INFO_ERROR_CODE_IS_VALID(u32IntInfo), 8249 ("Error-code-valid bit not set for exception that has an error code uVector=%#x\n", uVector)); 8248 8250 /* fall thru */ 8249 8251 default:
Note:
See TracChangeset
for help on using the changeset viewer.