VirtualBox

Changeset 96738 in vbox


Ignore:
Timestamp:
Sep 14, 2022 12:08:30 PM (2 years ago)
Author:
vboxsync
Message:

VMM/PGM: Nested VMX: bugref:10092 Comment out currently unused functions pgmGstGetEptPML4EPtr and pgmGstGetEptPML4Ptr - will remove later if not needed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/include/PGMInline.h

    r96407 r96738  
    740740
    741741#ifdef VBOX_WITH_NESTED_HWVIRT_VMX_EPT
     742# if 0
    742743/**
    743744 * Gets the pointer to a page map level-4 entry when the guest using EPT paging.
     
    760761    return &pEptPml4->a[iPml4];
    761762}
     763# endif
    762764
    763765
     
    772774DECLINLINE(int) pgmGstGetEptPML4PtrEx(PVMCPUCC pVCpu, PEPTPML4 *ppEptPml4)
    773775{
     776    /* Shadow CR3 might not have been mapped at this point, see PGMHCChangeMode. */
    774777    *ppEptPml4 = pVCpu->pgm.s.CTX_SUFF(pGstEptPml4);
    775     if (RT_UNLIKELY(!*ppEptPml4))
     778    if (!*ppEptPml4)
    776779        return pgmGstLazyMapEptPml4(pVCpu, ppEptPml4);
    777780    return VINF_SUCCESS;
     
    779782
    780783
     784# if 0
    781785/**
    782786 * Gets the page map level-4 pointer for the guest when the guest is using EPT
     
    793797    return pEptPml4;
    794798}
     799# endif
    795800#endif /* VBOX_WITH_NESTED_HWVIRT_VMX_EPT */
    796801
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