Changeset 79098 in vbox
- Timestamp:
- Jun 12, 2019 7:54:17 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR3/EM.cpp
r79097 r79098 2200 2200 && !VMCPU_FF_IS_SET(pVCpu, VMCPU_FF_BLOCK_NMIS)) 2201 2201 { 2202 bool fInjectNmi = true; 2202 2203 #ifdef VBOX_WITH_NESTED_HWVIRT_VMX 2203 2204 if ( CPUMIsGuestInVmxNonRootMode(&pVCpu->cpum.GstCtx) … … 2207 2208 Assert(rc2 != VINF_VMX_INTERCEPT_NOT_ACTIVE); 2208 2209 UPDATE_RC(); 2210 fInjectNmi = false; 2209 2211 } 2210 2212 #endif 2211 2213 #ifdef VBOX_WITH_NESTED_HWVIRT_SVM 2212 elseif ( CPUMIsGuestInSvmNestedHwVirtMode(&pVCpu->cpum.GstCtx)2213 2214 if ( CPUMIsGuestInSvmNestedHwVirtMode(&pVCpu->cpum.GstCtx) 2215 && CPUMIsGuestSvmCtrlInterceptSet(pVCpu, &pVCpu->cpum.GstCtx, SVM_CTRL_INTERCEPT_NMI)) 2214 2216 { 2215 2217 rc2 = VBOXSTRICTRC_VAL(IEMExecSvmVmexit(pVCpu, SVM_EXIT_NMI, 0 /* uExitInfo1 */, 0 /* uExitInfo2 */)); … … 2218 2220 && rc2 != VINF_NO_CHANGE, ("%Rrc\n", rc2)); 2219 2221 UPDATE_RC(); 2222 fInjectNmi = false; 2220 2223 } 2221 else 2222 #endif 2224 #endif 2225 if (fInjectNmi) 2223 2226 { 2224 2227 rc2 = TRPMAssertTrap(pVCpu, X86_XCPT_NMI, TRPM_TRAP);
Note:
See TracChangeset
for help on using the changeset viewer.