VirtualBox

Changeset 30285 in vbox


Ignore:
Timestamp:
Jun 17, 2010 2:25:11 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
62812
Message:

Clean up balloon statistics in case the VM process crashed.

File:
1 edited

Legend:

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

    r30237 r30285  
    895895                pGMM->cLeftBehindSharedPages += pGVM->gmm.s.cSharedPages;
    896896            }
     897
     898            /* Clean up balloon statistics in case the VM process crashed. */
     899            Assert(pGMM->cBalloonedPages >= pGVM->gmm.s.cBalloonedPages);
     900            pGMM->cBalloonedPages -= pGVM->gmm.s.cBalloonedPages;
    897901
    898902            /*
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