Changeset 79463 in vbox
- Timestamp:
- Jul 2, 2019 9:56:09 AM (6 years ago)
- svn:sync-xref-src-repo-rev:
- 131720
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HMSVMR0.cpp
r79374 r79463 62 62 # define HMSVM_NESTED_EXITCODE_STAM_COUNTER_INC(u64ExitCode) do { \ 63 63 STAM_COUNTER_INC(&pVCpu->hm.s.StatExitAll); \ 64 STAM_COUNTER_INC(&pVCpu->hm.s.StatNestedExitAll); \ 64 65 if ((u64ExitCode) == SVM_EXIT_NPF) \ 65 66 STAM_COUNTER_INC(&pVCpu->hm.s.StatNestedExitReasonNpf); \ … … 4260 4261 || VMCPU_FF_IS_SET(pVCpu, VMCPU_FF_REQUEST)) 4261 4262 { 4263 STAM_COUNTER_INC(&pVCpu->hm.s.StatSwitchVmReq); 4262 4264 Log4Func(("Pending VM request forcing us back to ring-3\n")); 4263 4265 return VINF_EM_PENDING_REQUEST; … … 4267 4269 if (VM_FF_IS_SET(pVM, VM_FF_PGM_POOL_FLUSH_PENDING)) 4268 4270 { 4271 STAM_COUNTER_INC(&pVCpu->hm.s.StatSwitchPgmPoolFlush); 4269 4272 Log4Func(("PGM pool flush pending forcing us back to ring-3\n")); 4270 4273 return VINF_PGM_POOL_FLUSH_PENDING; … … 4274 4277 if (VM_FF_IS_SET(pVM, VM_FF_PDM_DMA)) 4275 4278 { 4279 STAM_COUNTER_INC(&pVCpu->hm.s.StatSwitchDma); 4276 4280 Log4Func(("Pending DMA request forcing us back to ring-3\n")); 4277 4281 return VINF_EM_RAW_TO_R3; … … 5067 5071 break; 5068 5072 } 5073 /** @todo NSTSVM: Add stat for StatSwitchNstGstVmexit. Re-arrange the above code to 5074 * be accurate when doing so, see the corresponding VT-x code. */ 5069 5075 5070 5076 /** @todo handle single-stepping */
Note:
See TracChangeset
for help on using the changeset viewer.