VirtualBox

Changeset 82238 in vbox


Ignore:
Timestamp:
Nov 27, 2019 7:07:58 AM (5 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
135054
Message:

VMM/IEM: Nested VMX: bugref:9180 Use the APIC-access page handler type handle registered on the correct VCPU.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/IEMAllCImplVmxInstr.cpp.h

    r81866 r82238  
    67316731        if (!PGMHandlerPhysicalIsRegistered(pVCpu->CTX_SUFF(pVM), GCPhysApicAccess))
    67326732        {
    6733             int rc = PGMHandlerPhysicalRegister(pVCpu->CTX_SUFF(pVM), GCPhysApicAccess, GCPhysApicAccess + X86_PAGE_4K_SIZE - 1,
    6734                                                 pVCpu->iem.s.hVmxApicAccessPage, NIL_RTR3PTR /* pvUserR3 */,
    6735                                                 NIL_RTR0PTR /* pvUserR0 */,  NIL_RTRCPTR /* pvUserRC */, NULL /* pszDesc */);
     6733            PVMCC pVM       = pVCpu->CTX_SUFF(pVM);
     6734            PVMCPUCC pVCpu0 = VMCC_GET_CPU_0(pVM);
     6735            int rc = PGMHandlerPhysicalRegister(pVM, GCPhysApicAccess, GCPhysApicAccess + X86_PAGE_4K_SIZE - 1,
     6736                                                pVCpu0->iem.s.hVmxApicAccessPage, NIL_RTR3PTR /* pvUserR3 */,
     6737                                                NIL_RTR0PTR /* pvUserR0 */, NIL_RTRCPTR /* pvUserRC */, NULL /* pszDesc */);
    67366738            if (RT_SUCCESS(rc))
    67376739            { /* likely */ }
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette