VirtualBox

Changeset 91580 in vbox for trunk/src/VBox/VMM/VMMR3


Ignore:
Timestamp:
Oct 6, 2021 7:22:04 AM (3 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
147289
Message:

VMM: Nested VMX: bugref:10092 Made changes to PGM++ to handle invalid PAE PDPEs being loaded.

Location:
trunk/src/VBox/VMM/VMMR3
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR3/EM.cpp

    r91271 r91580  
    14521452    {
    14531453        CPUM_IMPORT_EXTRN_RCSTRICT(pVCpu, CPUMCTX_EXTRN_CR0 | CPUMCTX_EXTRN_CR3 | CPUMCTX_EXTRN_CR4 | CPUMCTX_EXTRN_EFER, rc);
    1454         int rc2 = PGMUpdateCR3(pVCpu, CPUMGetGuestCR3(pVCpu));
     1454        int const rc2 = PGMUpdateCR3(pVCpu, CPUMGetGuestCR3(pVCpu), false /* fPdpesMapped */);
    14551455        if (RT_FAILURE(rc2))
    14561456            return rc2;
  • trunk/src/VBox/VMM/VMMR3/NEMR3Native-win.cpp

    r88654 r91580  
    17121712                {
    17131713                    LogFlow(("nemR3NativeRunGC: calling PGMFlushTLB...\n"));
    1714                     int rc = PGMFlushTLB(pVCpu, CPUMGetGuestCR3(pVCpu), true);
     1714                    int rc = PGMFlushTLB(pVCpu, CPUMGetGuestCR3(pVCpu), true /*fGlobal*/, false /*fPdpesMapped*/);
    17151715                    AssertRCReturn(rc, rc);
    17161716                    if (rcStrict == VINF_NEM_FLUSH_TLB)
  • trunk/src/VBox/VMM/VMMR3/PGM.cpp

    r91271 r91580  
    23432343    uintptr_t idxBth = pVCpu->pgm.s.idxBothModeData;
    23442344    if (   idxBth < RT_ELEMENTS(g_aPgmBothModeData)
    2345         && g_aPgmBothModeData[idxBth].pfnMapCR3)
     2345        && g_aPgmBothModeData[idxBth].pfnUnmapCR3)
    23462346    {
    23472347        rc = g_aPgmBothModeData[idxBth].pfnUnmapCR3(pVCpu);
Note: See TracChangeset for help on using the changeset viewer.

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