Changeset 42836 in vbox for trunk/src/VBox/VMM/VMMR3
- Timestamp:
- Aug 16, 2012 7:11:15 AM (13 years ago)
- svn:sync-xref-src-repo-rev:
- 80093
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR3/PGMSavedState.cpp
r41965 r42836 2679 2679 AssertLogRelMsgReturn(PGM_PAGE_GET_STATE(pPage) == PGM_PAGE_STATE_ALLOCATED, ("GCPhys=%RGp %R[pgmpage]\n", GCPhys, pPage), VERR_PGM_UNEXPECTED_PAGE_STATE); 2680 2680 2681 /* If this is a ROM page, we must clear it and not try 2682 free it... */ 2681 /* 2682 * If this is a ROM page, we must clear it and not try to free it. 2683 * If the VM is using RamPreAlloc, don't free the page either (see @bugref{6318}). 2684 */ 2683 2685 if ( PGM_PAGE_GET_TYPE(pPage) == PGMPAGETYPE_ROM 2684 || PGM_PAGE_GET_TYPE(pPage) == PGMPAGETYPE_ROM_SHADOW) 2686 || PGM_PAGE_GET_TYPE(pPage) == PGMPAGETYPE_ROM_SHADOW 2687 || pVM->pgm.s.fRamPreAlloc) 2685 2688 { 2686 2689 PGMPAGEMAPLOCK PgMpLck;
Note:
See TracChangeset
for help on using the changeset viewer.