Changeset 71383 in vbox
- Timestamp:
- Mar 20, 2018 8:47:39 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HMSVMR0.cpp
r71344 r71383 3458 3458 else 3459 3459 { 3460 if (CPUMIsGuestSvmCtrlInterceptSet(pVCpu, pCtx, SVM_CTRL_INTERCEPT_NMI)) 3461 { 3462 Log4(("Intercepting NMI -> #VMEXIT\n")); 3463 return IEMExecSvmVmexit(pVCpu, SVM_EXIT_NMI, 0, 0); 3464 } 3465 3460 3466 Log4(("Pending NMI\n")); 3461 3462 3467 SVMEVENT Event; 3463 3468 Event.u = 0; … … 3465 3470 Event.n.u8Vector = X86_XCPT_NMI; 3466 3471 Event.n.u3Type = SVM_EVENT_NMI; 3467 3468 3472 hmR0SvmSetPendingEvent(pVCpu, &Event, 0 /* GCPtrFaultAddress */); 3469 3473 hmR0SvmSetIretIntercept(pVmcbNstGst); … … 3503 3507 { 3504 3508 Log4(("Injecting external interrupt u8Interrupt=%#x\n", u8Interrupt)); 3505 3506 3509 SVMEVENT Event; 3507 3510 Event.u = 0; … … 3509 3512 Event.n.u8Vector = u8Interrupt; 3510 3513 Event.n.u3Type = SVM_EVENT_EXTERNAL_IRQ; 3511 3512 3514 hmR0SvmSetPendingEvent(pVCpu, &Event, 0 /* GCPtrFaultAddress */); 3513 3515 }
Note:
See TracChangeset
for help on using the changeset viewer.