VirtualBox

Changeset 17491 in vbox for trunk/src


Ignore:
Timestamp:
Mar 6, 2009 4:40:33 PM (16 years ago)
Author:
vboxsync
Message:

Do nothing for nested paging/ept when exiting the shadow mode.

File:
1 edited

Legend:

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

    r17489 r17491  
    246246PGM_SHW_DECL(int, Exit)(PVM pVM)
    247247{
    248 #if PGM_SHW_TYPE == PGM_TYPE_NESTED
    249    Assert(HWACCMIsNestedPagingActive(pVM));
    250 # ifdef VBOX_WITH_PGMPOOL_PAGING_ONLY
    251     pVM->pgm.s.pShwPageCR3R3 = 0;
    252     pVM->pgm.s.pShwPageCR3R0 = 0;
    253     pVM->pgm.s.iShwUser      = 0;
    254     pVM->pgm.s.iShwUserTable = 0;
    255 # else
     248#ifndef VBOX_WITH_PGMPOOL_PAGING_ONLY
     249# if PGM_SHW_TYPE == PGM_TYPE_NESTED
     250    Assert(HWACCMIsNestedPagingActive(pVM));
    256251    pVM->pgm.s.pShwRootR3 = 0;
    257252#  ifndef VBOX_WITH_2X_4GB_ADDR_SPACE
     
    259254#  endif
    260255    pVM->pgm.s.HCPhysShwCR3 = 0;
     256
     257    Log(("Leave nested shadow paging mode\n"));
    261258# endif
    262 
    263     Log(("Leave nested shadow paging mode\n"));
    264259#endif
    265260    return VINF_SUCCESS;
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