Changeset 78874 in vbox for trunk/src/VBox/VMM
- Timestamp:
- May 30, 2019 11:32:08 AM (6 years ago)
- svn:sync-xref-src-repo-rev:
- 130986
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp
r78873 r78874 478 478 static VBOXSTRICTRC hmR0VmxExitMovFromCrX(PVMCPU pVCpu, PCVMXVMCSINFO pVmcsInfo, uint8_t cbInstr, uint8_t iGReg, uint8_t iCrReg); 479 479 static VBOXSTRICTRC hmR0VmxExitMovToCrX(PVMCPU pVCpu, PCVMXVMCSINFO pVmcsInfo, uint8_t cbInstr, uint8_t iGReg, uint8_t iCrReg); 480 static VBOXSTRICTRC hmR0VmxExitHostNmi(PVMCPU pVCpu); 480 481 /** @} */ 481 482 … … 12009 12010 int rc2 = hmR0VmxReadExitIntInfoVmcs(pVmxTransient); 12010 12011 AssertRCReturn(rc2, rc2); 12011 uint32_t uIntType = VMX_EXIT_INT_INFO_TYPE(pVmxTransient->uExitIntInfo);12012 uint32_t const uIntType = VMX_EXIT_INT_INFO_TYPE(pVmxTransient->uExitIntInfo); 12012 12013 if (uIntType == VMX_EXIT_INT_INFO_TYPE_NMI) 12013 return hmR0VmxExit XcptOrNmi(pVCpu, pVmxTransient);12014 return hmR0VmxExitHostNmi(pVCpu); 12014 12015 } 12015 12016 … … 13077 13078 * [2] -- See Intel spec. 27.5.5 "Updating Non-Register State". 13078 13079 */ 13079 VMXDispatchHostNmi(); 13080 STAM_REL_COUNTER_INC(&pVCpu->hm.s.StatExitHostNmiInGC); 13081 STAM_PROFILE_ADV_STOP(&pVCpu->hm.s.StatExitXcptNmi, y3); 13082 return VINF_SUCCESS; 13080 return hmR0VmxExitHostNmi(pVCpu); 13083 13081 } 13084 13082 … … 15419 15417 15420 15418 15419 /** 15420 * VM-exit helper for handling host NMIs. 15421 */ 15422 static VBOXSTRICTRC hmR0VmxExitHostNmi(PVMCPU pVCpu) 15423 { 15424 VMXDispatchHostNmi(); 15425 15426 STAM_REL_COUNTER_INC(&pVCpu->hm.s.StatExitHostNmiInGC); 15427 STAM_PROFILE_ADV_STOP(&pVCpu->hm.s.StatExitXcptNmi, y3); 15428 return VINF_SUCCESS; 15429 } 15430 15431 15421 15432 #ifdef VBOX_WITH_NESTED_HWVIRT_VMX 15422 15433 /** @name VMX instruction handlers.
Note:
See TracChangeset
for help on using the changeset viewer.