Changeset 83025 in vbox for trunk/src/VBox/VMM/VMMR0
- Timestamp:
- Feb 7, 2020 6:00:45 PM (5 years ago)
- Location:
- trunk/src/VBox/VMM/VMMR0
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HMSVMR0.cpp
r82968 r83025 3300 3300 Assert(!pVmcb->ctrl.EventInject.n.u1Valid); 3301 3301 pVmcb->ctrl.EventInject.u = pEvent->u; 3302 STAM_COUNTER_INC(&pVCpu->hm.s.paStatInjectedIrqsR0[pEvent->n.u8Vector & MASK_INJECT_IRQ_STAT]); 3302 if ( pVmcb->ctrl.EventInject.n.u3Type == SVM_EVENT_EXCEPTION 3303 || pVmcb->ctrl.EventInject.n.u3Type == SVM_EVENT_NMI) 3304 { 3305 Assert(pEvent->n.u8Vector <= X86_XCPT_LAST); 3306 STAM_COUNTER_INC(&pVCpu->hm.s.paStatInjectedXcptsR0[pEvent->n.u8Vector]); 3307 } 3308 else 3309 STAM_COUNTER_INC(&pVCpu->hm.s.paStatInjectedIrqsR0[pEvent->n.u8Vector & MASK_INJECT_IRQ_STAT]); 3303 3310 RT_NOREF(pVCpu); 3304 3311 -
trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp
r82968 r83025 8652 8652 #endif 8653 8653 8654 STAM_COUNTER_INC(&pVCpu->hm.s.paStatInjectedIrqsR0[uVector & MASK_INJECT_IRQ_STAT]); 8654 if ( uIntType == VMX_EXIT_INT_INFO_TYPE_HW_XCPT 8655 || uIntType == VMX_EXIT_INT_INFO_TYPE_NMI 8656 || uIntType == VMX_EXIT_INT_INFO_TYPE_PRIV_SW_XCPT 8657 || uIntType == VMX_EXIT_INT_INFO_TYPE_SW_XCPT) 8658 { 8659 Assert(uVector <= X86_XCPT_LAST); 8660 Assert(uIntType != VMX_EXIT_INT_INFO_TYPE_NMI || uVector == X86_XCPT_NMI); 8661 Assert(uIntType != VMX_EXIT_INT_INFO_TYPE_PRIV_SW_XCPT || uVector == X86_XCPT_DB); 8662 STAM_COUNTER_INC(&pVCpu->hm.s.paStatInjectedXcptsR0[uVector]); 8663 } 8664 else 8665 STAM_COUNTER_INC(&pVCpu->hm.s.paStatInjectedIrqsR0[uVector & MASK_INJECT_IRQ_STAT]); 8655 8666 8656 8667 /*
Note:
See TracChangeset
for help on using the changeset viewer.