VirtualBox

Changeset 16916 in vbox for trunk


Ignore:
Timestamp:
Feb 18, 2009 3:44:47 PM (16 years ago)
Author:
vboxsync
Message:

Fixed VT-x assertion

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

Legend:

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

    r16907 r16916  
    22462246    STAM_PROFILE_STOP(&pVM->pgm.s.CTX_MID_Z(Stat,SyncCR3), a);
    22472247    return cErrors;
    2248     return 0;
    22492248}
    22502249
  • trunk/src/VBox/VMM/VMMAll/PGMAllMap.cpp

    r16898 r16916  
    219219void pgmMapSetShadowPDEs(PVM pVM, PPGMMAPPING pMap, unsigned iNewPDE)
    220220{
     221    Log(("pgmMapSetShadowPDEs new pde %x (mappings enabled %d)\n", iNewPDE, pgmMapAreMappingsEnabled(&pVM->pgm.s)));
     222
    221223    if (!pgmMapAreMappingsEnabled(&pVM->pgm.s))
    222224        return;
     
    349351void pgmMapClearShadowPDEs(PVM pVM, PPGMPOOLPAGE pShwPageCR3, PPGMMAPPING pMap, unsigned iOldPDE)
    350352{
    351     Assert(pShwPageCR3);
     353    Log(("pgmMapClearShadowPDEs old pde %x (mappings enabled %d)\n", iOldPDE, pgmMapAreMappingsEnabled(&pVM->pgm.s)));
    352354
    353355    if (!pgmMapAreMappingsEnabled(&pVM->pgm.s))
     
    355357
    356358#ifdef VBOX_WITH_PGMPOOL_PAGING_ONLY
    357     if (!pVM->pgm.s.CTX_SUFF(pShwPageCR3))
    358         return;    /* too early */
     359    Assert(pShwPageCR3);
    359360#endif
    360361
     
    426427VMMDECL(int) PGMMapActivateAll(PVM pVM)
    427428{
     429    Log(("PGMMapActivateAll fixed mappings=%d\n", pVM->pgm.s.fMappingsFixed));
     430
    428431    /*
    429432     * Can skip this if mappings are safely fixed.
     
    461464VMMDECL(int) PGMMapDeactivateAll(PVM pVM)
    462465{
     466    Log(("PGMMapDeactivateAll fixed mappings=%d\n", pVM->pgm.s.fMappingsFixed));
     467
    463468    /*
    464469     * Can skip this if mappings are safely fixed.
     
    604609}
    605610
     611# ifdef VBOX_WITH_PGMPOOL_PAGING_ONLY
    606612/**
    607613 * Checks and resolves (ring 3 only) guest conflicts with VMM GC mappings.
     
    712718    return VINF_SUCCESS;
    713719}
     720# endif /* VBOX_WITH_PGMPOOL_PAGING_ONLY */
     721
    714722#endif /* IN_RING0 */
    715723
  • trunk/src/VBox/VMM/VMMAll/PGMAllPool.cpp

    r16907 r16916  
    488488                uShw.pv = PGMPOOL_PAGE_2_PTR(pPool->CTX_SUFF(pVM), pPage);
    489489                const unsigned iShw = off / sizeof(X86PTE);         // ASSUMING 32-bit guest paging!
     490
     491#  ifdef VBOX_WITH_PGMPOOL_PAGING_ONLY
     492                LogFlow(("pgmPoolMonitorChainChanging: PGMPOOLKIND_32BIT_PD %x\n", iShw));
     493#  endif
    490494                if (uShw.pPD->a[iShw].u & PGM_PDFLAGS_MAPPING)
    491495                {
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