Changeset 27085 in vbox for trunk/src/VBox/Devices/VMMDev
- Timestamp:
- Mar 5, 2010 1:11:33 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 58409
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/VMMDev/VMMDev.cpp
r27049 r27085 1387 1387 else 1388 1388 { 1389 pRequestHeader->rc = PGMR3PhysChangeMemBalloon(PDMDevHlpGetVM(pDevIns), memBalloonChange->fInflate, memBalloonChange->cPages, memBalloonChange->aPhysPage); 1389 1390 if (memBalloonChange->fInflate) 1390 {1391 pRequestHeader->rc = PGMR3PhysFreeRamPages(PDMDevHlpGetVM(pDevIns), memBalloonChange->cPages, memBalloonChange->aPhysPage);1392 1391 STAM_REL_U32_INC(&pThis->StatMemBalloonChunks); 1393 }1394 1392 else 1395 {1396 pRequestHeader->rc = VINF_SUCCESS; /* deflating the balloon doesn't require any action; when the reacquired memory is touched, it will be paged back in. */1397 1393 STAM_REL_U32_DEC(&pThis->StatMemBalloonChunks); 1398 }1399 1394 } 1400 1395 break;
Note:
See TracChangeset
for help on using the changeset viewer.