VirtualBox

Changeset 27162 in vbox


Ignore:
Timestamp:
Mar 8, 2010 1:14:14 PM (15 years ago)
Author:
vboxsync
Message:

VMM/GMMR0: fixed resetting cBalloonedPages on GMMBALLOONACTION_RESET.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR0/GMMR0.cpp

    r27147 r27162  
    18151815            if (RT_UNLIKELY(pGVM->gmm.s.Allocated.cBasePages + pGVM->gmm.s.cBalloonedPages + cPages > pGVM->gmm.s.Reserved.cBasePages))
    18161816            {
    1817                 Log(("gmmR0AllocatePages: Reserved=%#llx Allocated+Requested=%#llx+%#x!\n",
    1818                      pGVM->gmm.s.Reserved.cBasePages, pGVM->gmm.s.Allocated.cBasePages, cPages));
     1817                Log(("gmmR0AllocatePages:Base: Reserved=%#llx Allocated+Ballooned+Requested=%#llx+%#llx+%#x!\n",
     1818                     pGVM->gmm.s.Reserved.cBasePages, pGVM->gmm.s.Allocated.cBasePages, pGVM->gmm.s.cBalloonedPages, cPages));
    18191819                return VERR_GMM_HIT_VM_ACCOUNT_LIMIT;
    18201820            }
     
    18231823            if (RT_UNLIKELY(pGVM->gmm.s.Allocated.cShadowPages + cPages > pGVM->gmm.s.Reserved.cShadowPages))
    18241824            {
    1825                 Log(("gmmR0AllocatePages: Reserved=%#llx Allocated+Requested=%#llx+%#x!\n",
     1825                Log(("gmmR0AllocatePages:Shadow: Reserved=%#llx Allocated+Requested=%#llx+%#x!\n",
    18261826                     pGVM->gmm.s.Reserved.cShadowPages, pGVM->gmm.s.Allocated.cShadowPages, cPages));
    18271827                return VERR_GMM_HIT_VM_ACCOUNT_LIMIT;
     
    18311831            if (RT_UNLIKELY(pGVM->gmm.s.Allocated.cFixedPages + cPages > pGVM->gmm.s.Reserved.cFixedPages))
    18321832            {
    1833                 Log(("gmmR0AllocatePages: Reserved=%#llx Allocated+Requested=%#llx+%#x!\n",
     1833                Log(("gmmR0AllocatePages:Fixed: Reserved=%#llx Allocated+Requested=%#llx+%#x!\n",
    18341834                     pGVM->gmm.s.Reserved.cFixedPages, pGVM->gmm.s.Allocated.cFixedPages, cPages));
    18351835                return VERR_GMM_HIT_VM_ACCOUNT_LIMIT;
     
    29502950
    29512951                pGMM->cBalloonedPages       -= pGVM->gmm.s.cBalloonedPages;
    2952                 pGVM->gmm.s.cBalloonedPages -= 0;
     2952                pGVM->gmm.s.cBalloonedPages  = 0;
    29532953                break;
    29542954            }
Note: See TracChangeset for help on using the changeset viewer.

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