Changeset 97148 in vbox for trunk/src/VBox/VMM/VMMR0
- Timestamp:
- Oct 14, 2022 6:49:50 AM (3 years ago)
- svn:sync-xref-src-repo-rev:
- 154121
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp
r97095 r97148 5623 5623 RTGCPHYS const GCPhysApicAccess = pVmcsNstGst->u64AddrApicAccess.u; 5624 5624 5625 /* Disabling this since we adjust the shadow page table permissions in (SyncHandlerPte). */5626 #if 05627 /** @todo NSTVMX: This is not really correct but currently is required to make5628 * things work. We need to re-enable the page handler when we fallback to5629 * IEM execution of the nested-guest! */5630 PGMHandlerPhysicalPageTempOff(pVM, GCPhysApicAccess, GCPhysApicAccess);5631 #endif5632 5633 5625 void *pvPage; 5634 5626 PGMPAGEMAPLOCK PgLockApicAccess; … … 6559 6551 break; 6560 6552 } 6561 6562 /* Disabling this since we adjust the shadow page table permissions in (SyncHandlerPte). */6563 #if 06564 /*6565 * Undo temporary disabling of the APIC-access page monitoring we did in hmR0VmxMergeVmcsNested.6566 * This is needed for NestedTrap0eHandler (and IEM) to cause nested-guest APIC-access VM-exits.6567 */6568 if (VmxTransient.pVmcsInfo->u32ProcCtls2 & VMX_PROC_CTLS2_VIRT_APIC_ACCESS)6569 {6570 PVMXVVMCS const pVmcsNstGst = &pVCpu->cpum.GstCtx.hwvirt.vmx.Vmcs;6571 RTGCPHYS const GCPhysApicAccess = pVmcsNstGst->u64AddrApicAccess.u;6572 PGMHandlerPhysicalReset(pVCpu->CTX_SUFF(pVM), GCPhysApicAccess);6573 }6574 #endif6575 6553 6576 6554 /*
Note:
See TracChangeset
for help on using the changeset viewer.