VirtualBox

Changeset 24481 in vbox for trunk/src/VBox/VMM


Ignore:
Timestamp:
Nov 9, 2009 9:45:54 AM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
54565
Message:

PGMSavedState.cpp: /RamPreAlloc=true shouldn't make any difference for the saved state layout in 2.1.x and earlier, so drop the assert+return.

File:
1 edited

Legend:

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

    r24363 r24481  
    11341134
    11351135/**
    1136  * Saves the RAM configuration. 
    1137  * 
     1136 * Saves the RAM configuration.
     1137 *
    11381138 * @returns VBox status code.
    11391139 * @param   pVM                 The VM handle.
     
    11571157/**
    11581158 * Loads and verifies the RAM configuration.
    1159  * 
     1159 *
    11601160 * @returns VBox status code.
    11611161 * @param   pVM                 The VM handle.
     
    11811181    if (   cbRamHoleCfg != cbRamHoleSaved
    11821182        || cbRamCfg     != cbRamSaved)
    1183         return SSMR3SetCfgError(pSSM, RT_SRC_POS, N_("Ram config mismatch: saved=%RX64/%RX32 config=%RX64/%RX32 (RAM/Hole)"), 
     1183        return SSMR3SetCfgError(pSSM, RT_SRC_POS, N_("Ram config mismatch: saved=%RX64/%RX32 config=%RX64/%RX32 (RAM/Hole)"),
    11841184                                cbRamSaved, cbRamHoleSaved, cbRamCfg, cbRamHoleCfg);
    11851185    return VINF_SUCCESS;
     
    22672267             * Old format.
    22682268             */
    2269             AssertLogRelReturn(!pVM->pgm.s.fRamPreAlloc, VERR_NOT_SUPPORTED); /* can't be detected. */
    22702269
    22712270            /* Of the page flags, pick up MMIO2 and ROM/RESERVED for the !fHaveBits case.
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