VirtualBox

Changeset 10027

Show
Ignore:
Timestamp:
06/30/08 18:45:41 (6 months ago)
Author:
vboxsync
Message:

Corrected check for flushing shadow pml4. Extended check for nested paging case.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/VBox/VMM/VMMAll/PGMAllPool.cpp

    r10026 r10027  
    34683468     * Quietly reject any attempts at flushing the currently active shadow CR3 mapping 
    34693469     */ 
    3470     if (    pPage->idx == PGMPOOL_IDX_AMD64_CR3 
     3470    if (    (   pPage->enmKind == PGMPOOLKIND_64BIT_PML4_FOR_64BIT_PML4 
     3471             || pPage->enmKind == PGMPOOLKIND_64BIT_PML4_FOR_PHYS) 
    34713472        &&  PGMGetHyperCR3(CTXSUFF(pPool->pVM)) == pPage->Core.Key) 
    34723473    { 

© 2008 Sun Microsystems, Inc.
ContactPrivacy policy