Changeset 80630 in vbox
- Timestamp:
- Sep 6, 2019 11:03:24 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/HMAll.cpp
r80333 r80630 856 856 VMM_INT_DECL(const char *) HMGetVmxExitName(uint32_t uExit) 857 857 { 858 if (uExit <= MAX_EXITREASON_VTX) 859 { 860 Assert(uExit < RT_ELEMENTS(g_apszVmxExitReasons)); 861 return g_apszVmxExitReasons[uExit]; 858 uint16_t const uReason = VMX_EXIT_REASON_BASIC(uExit); 859 if (uReason <= MAX_EXITREASON_VTX) 860 { 861 Assert(uReason < RT_ELEMENTS(g_apszVmxExitReasons)); 862 return g_apszVmxExitReasons[uReason]; 862 863 } 863 864 return NULL;
Note:
See TracChangeset
for help on using the changeset viewer.