VirtualBox

Changeset 19516 in vbox


Ignore:
Timestamp:
May 8, 2009 9:17:47 AM (16 years ago)
Author:
vboxsync
Message:

Always call pgmPoolSyncCR3 from PGMSyncCR3 (regardless of guest paging mode as it's relevant in the nested paging case).

Location:
trunk/src/VBox/VMM/VMMAll
Files:
2 edited

Legend:

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

    r19474 r19516  
    17601760    int rc;
    17611761
     1762#ifdef PGMPOOL_WITH_MONITORING
     1763    /*
     1764     * The pool may have pending stuff and even require a return to ring-3 to
     1765     * clear the whole thing.
     1766     */
     1767    rc = pgmPoolSyncCR3(pVM);
     1768    if (rc != VINF_SUCCESS)
     1769        return rc;
     1770#endif
     1771
    17621772    /*
    17631773     * We might be called when we shouldn't.
     
    17811791    LogFlow(("PGMSyncCR3: cr0=%RX64 cr3=%RX64 cr4=%RX64 fGlobal=%d[%d,%d]\n", cr0, cr3, cr4, fGlobal,
    17821792             VMCPU_FF_ISSET(pVCpu, VMCPU_FF_PGM_SYNC_CR3), VMCPU_FF_ISSET(pVCpu, VMCPU_FF_PGM_SYNC_CR3_NON_GLOBAL)));
    1783 
    1784 #ifdef PGMPOOL_WITH_MONITORING
    1785     /*
    1786      * The pool may have pending stuff and even require a return to ring-3 to
    1787      * clear the whole thing.
    1788      */
    1789     rc = pgmPoolSyncCR3(pVM);
    1790     if (rc != VINF_SUCCESS)
    1791         return rc;
    1792 #endif
    17931793
    17941794    /*
  • trunk/src/VBox/VMM/VMMAll/PGMAllPool.cpp

    r19503 r19516  
    20542054#endif
    20552055
    2056 
    20572056    pPool->cPresent = 0;
     2057    PGM_INVL_GUEST_TLBS();
    20582058    STAM_PROFILE_STOP(&pPool->StatClearAll, c);
    20592059}
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