VirtualBox

儲存庫 vbox 的更動 12405


忽略:
時間撮記:
2008-9-11 下午03:01:43 (16 年 以前)
作者:
vboxsync
訊息:

We must flush the PGM pool cache if the guest mode changes; we don't always
switch shadow paging mode (e.g. protected->32-bit) and shouldn't reuse
the shadow page tables. (#3115 OS/2 guests)

檔案:
修改 1 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/VBox/VMM/PGM.cpp

    r12300 r12405  
    31803180
    31813181    }
     3182    else
     3183        LogFlow(("PGMR3ChangeMode: Shadow mode remains: %s\n",  PGMGetModeName(pVM->pgm.s.enmShadowMode)));
    31823184
    31833185    /* guest */
     
    32373239            return rc;
    32383240        }
     3241    }
     3242
     3243    /* We must flush the PGM pool cache if the guest mode changes; we don't always
     3244     * switch shadow paging mode (e.g. protected->32-bit) and shouldn't reuse
     3245     * the shadow page tables.
     3246     */
     3247    if (   pVM->pgm.s.CTXSUFF(pPool)
     3248        && pVM->pgm.s.enmGuestMode != enmGuestMode)
     3249    {
     3250        Log(("PGMR3ChangeMode: changing guest paging mode -> flush pgm pool cache!\n"));
     3251        pgmPoolFlushAll(pVM);
    32393252    }
    32403253
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette