VirtualBox

Changeset 32980 in vbox


Ignore:
Timestamp:
Oct 7, 2010 2:17:45 PM (14 years ago)
Author:
vboxsync
Message:

Do *not* unlock the nested root page when exiting the shadow mode. Triggers an assertion when trying to free this page
later on.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/PGMShw.h

    r32036 r32980  
    247247        pgmLock(pVM);
    248248
    249         /* Mark the page as unlocked; allow flushing again. */
    250         pgmPoolUnlockPage(pPool, pVCpu->pgm.s.CTX_SUFF(pShwPageCR3));
     249        /* Do *not* unlock this page as we have two of them floating around in the 32-bit host & 64-bit guest case.
     250         * We currently assert when you try to free one of them; don't bother to really allow this.
     251         */
     252        /* pgmPoolUnlockPage(pPool, pVCpu->pgm.s.CTX_SUFF(pShwPageCR3)); */
    251253
    252254        pgmPoolFreeByPage(pPool, pVCpu->pgm.s.CTX_SUFF(pShwPageCR3), pVCpu->pgm.s.iShwUser, pVCpu->pgm.s.iShwUserTable);
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