VirtualBox

Changeset 40 in vbox


Ignore:
Timestamp:
Jan 15, 2007 5:44:46 PM (18 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
17469
Message:

Update

File:
1 edited

Legend:

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

    r39 r40  
    16001600        if (pRam->fFlags & MM_RAM_FLAGS_DYNAMIC_ALLOC)
    16011601        {
    1602             bool fPreAlloc = false;
    1603 
    1604             rc = CFGMR3QueryBool(CFGMR3GetRoot(pVM), "PreAlloc", &fPreAlloc);
    1605             if (rc == VERR_CFGM_VALUE_NOT_FOUND)
    1606                 fPreAlloc = false;
    1607 
    16081602            for (unsigned iChunk = 0; iChunk < (pRam->cb >> PGM_DYNAMIC_CHUNK_SHIFT); iChunk++)
    16091603            {
     
    16181612                if (fValidChunk)
    16191613                {
    1620                     /* The first chunk is always present. (all chunks are present if guest ram is preallocated) */
    1621                     if (    iChunk != 0
    1622                         && !fPreAlloc)
     1614                    if (!pRam->pavHCChunkHC[iChunk])
    16231615                    {
    16241616                        rc = pgmr3PhysGrowRange(pVM, pRam->GCPhys + iChunk * PGM_DYNAMIC_CHUNK_SIZE);
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