VirtualBox

Changeset 18607 in vbox


Ignore:
Timestamp:
Apr 1, 2009 4:25:17 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
45513
Message:

mmR3Load: Ignore the saved cBasePages.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/MM.cpp

    r18046 r18607  
    594594    RTUINT cb1;
    595595
    596     /* cBasePages */
     596    /* cBasePages (ignored) */
    597597    uint64_t cPages;
    598     if (u32Version != 1)
     598    if (u32Version >= 2)
    599599        rc = SSMR3GetU64(pSSM, &cPages);
    600600    else
     
    605605    if (RT_FAILURE(rc))
    606606        return rc;
    607 #ifdef VBOX_WITH_NEW_PHYS_CODE
    608     AssertLogRelMsgReturn(cPages <= pVM->mm.s.cBasePages, /* shadowed rom is counted twice, exact match here isn't really important. */
    609                           ("Memory configuration has changed. cPages=%#RX64 saved=%#RX64\n", pVM->mm.s.cBasePages, cPages),
    610                           VERR_SSM_LOAD_MEMORY_SIZE_MISMATCH);
    611 #else
    612     AssertLogRelMsgReturn(cPages == pVM->mm.s.cBasePages,
    613                           ("Memory configuration has changed. cPages=%#RX64 saved=%#RX64\n", pVM->mm.s.cBasePages, cPages),
    614                           VERR_SSM_LOAD_MEMORY_SIZE_MISMATCH);
    615 #endif
    616607
    617608    /* cbRamBase */
     
    626617    if (RT_FAILURE(rc))
    627618        return rc;
    628     AssertLogRelMsgReturn(cb == pVM->mm.s.cbRamBase, 
     619    AssertLogRelMsgReturn(cb == pVM->mm.s.cbRamBase,
    629620                          ("Memory configuration has changed. cbRamBase=%#RX64 save=%#RX64\n", pVM->mm.s.cbRamBase, cb),
    630621                          VERR_SSM_LOAD_MEMORY_SIZE_MISMATCH);
Note: See TracChangeset for help on using the changeset viewer.

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