VirtualBox

Changeset 91986 in vbox


Ignore:
Timestamp:
Oct 22, 2021 3:21:40 AM (3 years ago)
Author:
vboxsync
Message:

VMM: Nested VMX: bugref:10092 Added PGMSetGuestEptPtr.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/vmm/pgm.h

    r91952 r91986  
    354354VMM_INT_DECL(void)  PGMNotifyNxeChanged(PVMCPU pVCpu, bool fNxe);
    355355VMMDECL(bool)       PGMHasDirtyPages(PVM pVM);
     356#ifdef VBOX_WITH_NESTED_HWVIRT_VMX_EPT
     357VMM_INT_DECL(void)  PGMSetGuestEptPtr(PVMCPUCC pVCpu, uint64_t uEptPtr);
     358#endif
    356359
    357360/** PGM physical access handler type registration handle (heap offset, valid
  • trunk/src/VBox/VMM/VMMAll/PGMAll.cpp

    r91904 r91986  
    38273827#endif /* VBOX_STRICT */
    38283828
     3829
     3830#ifdef VBOX_WITH_NESTED_HWVIRT_VMX_EPT
     3831/**
     3832 * Updates PGM's copy of the guest's EPT pointer.
     3833 *
     3834 * @param   pVCpu       The cross context virtual CPU structure.
     3835 * @param   uEptPtr     The EPT pointer.
     3836 *
     3837 * @remarks This can be called as part of VM-entry so we might be in the midst of
     3838 *          switching to VMX non-root mode.
     3839 */
     3840VMM_INT_DECL(void) PGMSetGuestEptPtr(PVMCPUCC pVCpu, uint64_t uEptPtr)
     3841{
     3842    pVCpu->pgm.s.uEptPtr = uEptPtr;
     3843}
     3844#endif
     3845
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