- Timestamp:
- Apr 6, 2023 4:02:43 PM (22 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/IEMAllCImplVmxInstr.cpp
r99273 r99318 7181 7181 * See Intel spec. 24.11.4 "Software Access to Related Structures". 7182 7182 */ 7183 if (!PGMHandlerPhysicalIsRegistered(pVCpu->CTX_SUFF(pVM), GCPhysApicAccess)) 7184 { 7185 PVMCC pVM = pVCpu->CTX_SUFF(pVM); 7186 int rc = PGMHandlerPhysicalRegister(pVM, GCPhysApicAccess, GCPhysApicAccess | X86_PAGE_4K_OFFSET_MASK, 7187 pVM->iem.s.hVmxApicAccessPage, 0 /*uUser*/, NULL /*pszDesc*/); 7188 if (RT_SUCCESS(rc)) 7189 { /* likely */ } 7190 else 7191 IEM_VMX_VMENTRY_FAILED_RET(pVCpu, pszInstr, pszFailure, kVmxVDiag_Vmentry_AddrApicAccessHandlerReg); 7192 } 7183 PVMCC pVM = pVCpu->CTX_SUFF(pVM); 7184 int rc = PGMHandlerPhysicalRegisterVmxApicAccessPage(pVM, GCPhysApicAccess, pVM->iem.s.hVmxApicAccessPage); 7185 if (RT_SUCCESS(rc)) 7186 { /* likely */ } 7187 else 7188 IEM_VMX_VMENTRY_FAILED_RET(pVCpu, pszInstr, pszFailure, kVmxVDiag_Vmentry_AddrApicAccessHandlerReg); 7193 7189 } 7194 7190
Note:
See TracChangeset
for help on using the changeset viewer.