VirtualBox

Changeset 92569 in vbox for trunk/src/VBox/VMM


Ignore:
Timestamp:
Nov 23, 2021 3:47:04 PM (3 years ago)
Author:
vboxsync
Message:

VMM/IEM: Nested VMX: bugref:10092 Call PGMSetGuestEptPtr before calling PGMGstMapPaePdpesAtCr3. This should probably be asserted somehow...

File:
1 edited

Legend:

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

    r92566 r92569  
    66806680
    66816681    /*
     6682     * Set PGM's copy of the EPT pointer.
     6683     * The EPTP has already been validated while checking guest state.
     6684     *
     6685     * It is important to do this prior to mapping PAE PDPTEs (below).
     6686     */
     6687    if (pVmcs->u32ProcCtls2 & VMX_PROC_CTLS2_EPT)
     6688        PGMSetGuestEptPtr(pVCpu, pVmcs->u64EptPtr.u);
     6689
     6690    /*
    66826691     * Load the guest's PAE PDPTEs.
    66836692     */
     
    67156724        }
    67166725    }
    6717 
    6718     /*
    6719      * Set PGM's copy of the EPT pointer.
    6720      * The EPTP has already been validated while checking guest state.
    6721      */
    6722     if (pVmcs->u32ProcCtls2 & VMX_PROC_CTLS2_EPT)
    6723         PGMSetGuestEptPtr(pVCpu, pVmcs->u64EptPtr.u);
    67246726
    67256727    /* VPID is irrelevant. We don't support VPID yet. */
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