VirtualBox

Changeset 20810 in vbox


Ignore:
Timestamp:
Jun 23, 2009 9:27:38 AM (16 years ago)
Author:
vboxsync
Message:

EPT fix for locking root page

File:
1 edited

Legend:

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

    r20374 r20810  
    188188    Assert(!pVCpu->pgm.s.pShwPageCR3R3);
    189189
    190     int rc = pgmPoolAlloc(pVM, GCPhysCR3, PGMPOOLKIND_ROOT_NESTED, PGMPOOL_IDX_NESTED_ROOT, GCPhysCR3 >> PAGE_SHIFT, &pNewShwPageCR3);
     190    int rc = pgmPoolAlloc(pVM, GCPhysCR3, PGMPOOLKIND_ROOT_NESTED, PGMPOOL_IDX_NESTED_ROOT, GCPhysCR3 >> PAGE_SHIFT, &pNewShwPageCR3, true /* lock page */);
    191191    AssertFatalRC(rc);
    192 
    193     /* Mark the page as locked; disallow flushing. */
    194     pgmPoolLockPage(pPool, pNewShwPageCR3);
    195192
    196193    pVCpu->pgm.s.iShwUser      = PGMPOOL_IDX_NESTED_ROOT;
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