Changeset 79975 in vbox
- Timestamp:
- Jul 25, 2019 9:39:39 AM (6 years ago)
- svn:sync-xref-src-repo-rev:
- 132406
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/IEMAll.cpp
r79756 r79975 1124 1124 if (!pVCpu->iem.s.fInPatchCode) 1125 1125 CPUMRawLeave(pVCpu, VINF_SUCCESS); 1126 #endif 1127 #if 0 1128 #if defined(VBOX_WITH_NESTED_HWVIRT_VMX) && !defined(IN_RC) 1129 if ( CPUMIsGuestInVmxNonRootMode(&pVCpu->cpum.GstCtx) 1130 && CPUMIsGuestVmxProcCtls2Set(pVCpu, &pVCpu->cpum.GstCtx, VMX_PROC_CTLS2_VIRT_APIC_ACCESS)) 1131 { 1132 PCVMXVVMCS pVmcs = pVCpu->cpum.GstCtx.hwvirt.vmx.CTX_SUFF(pVmcs); 1133 Assert(pVmcs); 1134 RTGCPHYS const GCPhysApicAccess = pVmcs->u64AddrApicAccess.u; 1135 if (!PGMHandlerPhysicalIsRegistered(pVCpu->CTX_SUFF(pVM), GCPhysApicAccess)) 1136 { 1137 int rc = PGMHandlerPhysicalRegister(pVCpu->CTX_SUFF(pVM), GCPhysApicAccess, GCPhysApicAccess + X86_PAGE_4K_SIZE - 1, 1138 pVCpu->iem.s.hVmxApicAccessPage, NIL_RTR3PTR /* pvUserR3 */, 1139 NIL_RTR0PTR /* pvUserR0 */, NIL_RTRCPTR /* pvUserRC */, NULL /* pszDesc */); 1140 AssertRC(rc); 1141 } 1142 } 1143 #endif 1126 1144 #endif 1127 1145 }
Note:
See TracChangeset
for help on using the changeset viewer.