- Timestamp:
- Sep 11, 2008 3:01:43 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/PGM.cpp
r12300 r12405 3180 3180 3181 3181 } 3182 else 3183 LogFlow(("PGMR3ChangeMode: Shadow mode remains: %s\n", PGMGetModeName(pVM->pgm.s.enmShadowMode))); 3182 3184 3183 3185 /* guest */ … … 3237 3239 return rc; 3238 3240 } 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); 3239 3252 } 3240 3253
Note:
See TracChangeset
for help on using the changeset viewer.