Changeset 91951 in vbox
- Timestamp:
- Oct 21, 2021 1:55:49 PM (3 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
-
include/VBox/vmm/cpum.h (modified) (1 diff)
-
src/VBox/VMM/VMMAll/CPUMAllRegs.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vmm/cpum.h
r91710 r91951 2266 2266 } 2267 2267 2268 2269 /** 2270 * Checks whether the guest is in VMX non-root mode and using EPT paging. 2271 * 2272 * @returns @c true if in VMX non-root operation with EPT, @c false otherwise. 2273 * @param pCtx Current CPU context. 2274 */ 2275 DECLINLINE(bool) CPUMIsGuestVmxEptPagingEnabledEx(PCCPUMCTX pCtx) 2276 { 2277 return CPUMIsGuestInVmxNonRootMode(pCtx) 2278 && CPUMIsGuestVmxProcCtls2Set(pCtx, VMX_PROC_CTLS2_EPT); 2279 } 2280 2281 2268 2282 /** 2269 2283 * Implements VMSucceed for VMX instruction success. -
trunk/src/VBox/VMM/VMMAll/CPUMAllRegs.cpp
r91710 r91951 3042 3042 VMM_INT_DECL(bool) CPUMIsGuestVmxEptPagingEnabled(PCVMCPUCC pVCpu) 3043 3043 { 3044 return CPUMIsGuestInVmxNonRootMode(&pVCpu->cpum.s.Guest) 3045 && CPUMIsGuestVmxProcCtls2Set(&pVCpu->cpum.s.Guest, VMX_PROC_CTLS2_EPT); 3046 } 3047 3044 return CPUMIsGuestVmxEptPagingEnabledEx(&pVCpu->cpum.s.Guest); 3045 } 3046
Note:
See TracChangeset
for help on using the changeset viewer.

