Changeset 79627 in vbox for trunk/src/VBox/VMM
- Timestamp:
- Jul 9, 2019 4:56:19 AM (6 years ago)
- Location:
- trunk/src/VBox/VMM
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HMSVMR0.cpp
r79625 r79627 5973 5973 */ 5974 5974 Assert(pVmcb->ctrl.ExitIntInfo.n.u3Type != SVM_EVENT_SOFTWARE_INT); 5975 STAM_COUNTER_INC(&pVCpu->hm.s.StatInject PendingReflect);5975 STAM_COUNTER_INC(&pVCpu->hm.s.StatInjectReflect); 5976 5976 hmR0SvmSetPendingEvent(pVCpu, &pVmcb->ctrl.ExitIntInfo, GCPtrFaultAddress); 5977 5977 … … 6004 6004 else 6005 6005 { 6006 STAM_COUNTER_INC(&pVCpu->hm.s.StatInject PendingReflect);6006 STAM_COUNTER_INC(&pVCpu->hm.s.StatInjectConvertDF); 6007 6007 hmR0SvmSetPendingXcptDF(pVCpu); 6008 6008 rc = VINF_HM_DOUBLE_FAULT; … … 7219 7219 if (pVCpu->hm.s.Event.fPending) 7220 7220 { 7221 STAM_COUNTER_INC(&pVCpu->hm.s.StatInject PendingInterpret);7221 STAM_COUNTER_INC(&pVCpu->hm.s.StatInjectInterpret); 7222 7222 return VINF_EM_RAW_INJECT_TRPM_EVENT; 7223 7223 } … … 7299 7299 */ 7300 7300 if (pVCpu->hm.s.Event.fPending) 7301 STAM_COUNTER_INC(&pVCpu->hm.s.StatInject PendingNPF);7301 STAM_COUNTER_INC(&pVCpu->hm.s.StatInjectReflectNPF); 7302 7302 7303 7303 return rc; … … 7721 7721 if (RT_UNLIKELY(pVCpu->hm.s.Event.fPending)) 7722 7722 { 7723 STAM_COUNTER_INC(&pVCpu->hm.s.StatInject PendingInterpret);7723 STAM_COUNTER_INC(&pVCpu->hm.s.StatInjectInterpret); 7724 7724 return VINF_EM_RAW_INJECT_TRPM_EVENT; 7725 7725 } … … 8233 8233 if (pVCpu->hm.s.Event.fPending) 8234 8234 { 8235 STAM_COUNTER_INC(&pVCpu->hm.s.StatInject PendingInterpret);8235 STAM_COUNTER_INC(&pVCpu->hm.s.StatInjectInterpret); 8236 8236 return VINF_EM_RAW_INJECT_TRPM_EVENT; 8237 8237 } -
trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp
r79626 r79627 13785 13785 13786 13786 /* If uExitVector is #PF, CR2 value will be updated from the VMCS if it's a guest #PF, see hmR0VmxExitXcptPF(). */ 13787 STAM_COUNTER_INC(&pVCpu->hm.s.StatInject PendingReflect);13787 STAM_COUNTER_INC(&pVCpu->hm.s.StatInjectReflect); 13788 13788 hmR0VmxSetPendingEvent(pVCpu, VMX_ENTRY_INT_INFO_FROM_EXIT_IDT_INFO(pVmxTransient->uIdtVectoringInfo), 13789 13789 0 /* cbInstr */, u32ErrCode, pVCpu->cpum.GstCtx.cr2); … … 13814 13814 else 13815 13815 { 13816 STAM_COUNTER_INC(&pVCpu->hm.s.StatInject PendingReflect);13816 STAM_COUNTER_INC(&pVCpu->hm.s.StatInjectConvertDF); 13817 13817 hmR0VmxSetPendingXcptDF(pVCpu); 13818 13818 Log4Func(("IDT: Pending vectoring #DF %#RX64 uIdtVector=%#x uExitVector=%#x\n", pVCpu->hm.s.Event.u64IntInfo, … … 16194 16194 if (RT_UNLIKELY(pVCpu->hm.s.Event.fPending)) 16195 16195 { 16196 STAM_COUNTER_INC(&pVCpu->hm.s.StatInject PendingInterpret);16196 STAM_COUNTER_INC(&pVCpu->hm.s.StatInjectInterpret); 16197 16197 return VINF_EM_RAW_INJECT_TRPM_EVENT; 16198 16198 } … … 16373 16373 if (RT_UNLIKELY(pVCpu->hm.s.Event.fPending)) 16374 16374 { 16375 STAM_COUNTER_INC(&pVCpu->hm.s.StatInject PendingInterpret);16375 STAM_COUNTER_INC(&pVCpu->hm.s.StatInjectInterpret); 16376 16376 return VINF_EM_RAW_INJECT_TRPM_EVENT; 16377 16377 } … … 16460 16460 */ 16461 16461 if (pVCpu->hm.s.Event.fPending) 16462 STAM_COUNTER_INC(&pVCpu->hm.s.StatInject PendingNPF);16462 STAM_COUNTER_INC(&pVCpu->hm.s.StatInjectReflectNPF); 16463 16463 } 16464 16464 else -
trunk/src/VBox/VMM/VMMR3/HM.cpp
r79624 r79627 811 811 HM_REG_COUNTER(&pVCpu->hm.s.StatInjectInterrupt, "/HM/CPU%d/EventInject/Interrupt", "Injected an external interrupt into the guest."); 812 812 HM_REG_COUNTER(&pVCpu->hm.s.StatInjectXcpt, "/HM/CPU%d/EventInject/Trap", "Injected an exception into the guest."); 813 HM_REG_COUNTER(&pVCpu->hm.s.StatInjectPendingReflect, "/HM/CPU%d/EventInject/PendingReflect", "Reflecting an exception (or #DF) caused due to event injection."); 814 HM_REG_COUNTER(&pVCpu->hm.s.StatInjectPendingInterpret, "/HM/CPU%d/EventInject/PendingInterpret", "Falling to interpreter for handling exception caused due to event injection."); 815 HM_REG_COUNTER(&pVCpu->hm.s.StatInjectPendingNPF, "/HM/CPU%d/EventInject/PendingNPF", "Reflecting an event that caused an EPT violation / Nested #PF."); 813 HM_REG_COUNTER(&pVCpu->hm.s.StatInjectReflect, "/HM/CPU%d/EventInject/Reflect", "Reflecting an exception caused due to event injection."); 814 HM_REG_COUNTER(&pVCpu->hm.s.StatInjectConvertDF, "/HM/CPU%d/EventInject/ReflectDF", "Injected a converted #DF caused due to event injection."); 815 HM_REG_COUNTER(&pVCpu->hm.s.StatInjectInterpret, "/HM/CPU%d/EventInject/Interpret", "Falling back to interpreter for handling exception caused due to event injection."); 816 HM_REG_COUNTER(&pVCpu->hm.s.StatInjectReflectNPF, "/HM/CPU%d/EventInject/ReflectNPF", "Reflecting event that caused an EPT violation / nested #PF."); 816 817 817 818 HM_REG_COUNTER(&pVCpu->hm.s.StatFlushPage, "/HM/CPU%d/Flush/Page", "Invalidating a guest page on all guest CPUs."); -
trunk/src/VBox/VMM/include/HMInternal.h
r79624 r79627 1121 1121 STAMCOUNTER StatInjectInterrupt; 1122 1122 STAMCOUNTER StatInjectXcpt; 1123 STAMCOUNTER StatInjectPendingReflect; 1124 STAMCOUNTER StatInjectPendingInterpret; 1125 STAMCOUNTER StatInjectPendingNPF; 1123 STAMCOUNTER StatInjectReflect; 1124 STAMCOUNTER StatInjectConvertDF; 1125 STAMCOUNTER StatInjectInterpret; 1126 STAMCOUNTER StatInjectReflectNPF; 1126 1127 1127 1128 STAMCOUNTER StatExitAll;
Note:
See TracChangeset
for help on using the changeset viewer.