Changeset 27197 in vbox
- Timestamp:
- Mar 9, 2010 9:43:50 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/PGMSavedState.cpp
r27183 r27197 2768 2768 { 2769 2769 if (uVersion > PGM_SAVED_STATE_VERSION_PRE_BALLOON) 2770 {2771 2770 rc = SSMR3GetStruct(pSSM, pPGM, &s_aPGMFields[0]); 2772 if ( RT_SUCCESS(rc)2773 && pVM->pgm.s.cBalloonedPages)2774 {2775 rc = GMMR3BalloonedPages(pVM, GMMBALLOONACTION_INFLATE, pVM->pgm.s.cBalloonedPages);2776 AssertRC(rc);2777 }2778 }2779 2771 else 2780 2772 rc = SSMR3GetStruct(pSSM, pPGM, &s_aPGMFieldsPreBalloon[0]); … … 2886 2878 else 2887 2879 rc = pgmR3LoadMemoryOld(pVM, pSSM, uVersion); 2880 2881 /* Refresh balloon accounting. */ 2882 if (pVM->pgm.s.cBalloonedPages) 2883 { 2884 rc = GMMR3BalloonedPages(pVM, GMMBALLOONACTION_INFLATE, pVM->pgm.s.cBalloonedPages); 2885 AssertRC(rc); 2886 } 2888 2887 return rc; 2889 2888 }
Note:
See TracChangeset
for help on using the changeset viewer.