Changeset 28049 in vbox
- Timestamp:
- Apr 7, 2010 1:16:37 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/GuestImpl.cpp
r28040 r28049 84 84 HRESULT ret = mParent->machine()->COMGETTER(MemoryBalloonSize)(&aMemoryBalloonSize); 85 85 if (ret == S_OK) 86 { 86 87 mMemoryBalloonSize = aMemoryBalloonSize; 88 89 if (mMemoryBalloonSize) 90 { 91 /* forward the information to the VMM device */ 92 VMMDev *vmmDev = mParent->getVMMDev(); 93 if (vmmDev) 94 vmmDev->getVMMDevPort()->pfnSetMemoryBalloon(vmmDev->getVMMDevPort(), aMemoryBalloonSize); 95 } 96 } 87 97 else 88 98 mMemoryBalloonSize = 0; /* Default is no ballooning */
Note:
See TracChangeset
for help on using the changeset viewer.