Changeset 59909 in vbox for trunk/src/VBox/Frontends/VBoxBalloonCtrl
- Timestamp:
- Mar 3, 2016 3:28:27 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxBalloonCtrl/VBoxModBallooning.cpp
r59908 r59909 65 65 typedef struct VBOXWATCHDOG_BALLOONCTRL_PAYLOAD 66 66 { 67 /** The maximum ballooning size for the VM set last. 68 * Specify 0 for ballooning disabled. */ 69 unsigned long ulBalloonMaxLast; 67 /** Last (most recent) ballooning request received. */ 68 unsigned long ulBalloonReqLast; 70 69 } VBOXWATCHDOG_BALLOONCTRL_PAYLOAD, *PVBOXWATCHDOG_BALLOONCTRL_PAYLOAD; 71 70 … … 411 410 && (ulBalloonReq > ulBalloonMax)) 412 411 { 413 serviceLog("[%ls] Warning: Requested ballooning size (%RU32MB) exceeds set maximum ballooning size (%RU32MB), limiting ...\n", 414 pMachine->strName.raw(), ulBalloonReq, ulBalloonMax); 412 if (pData->ulBalloonReqLast != ulBalloonReq) 413 serviceLog("[%ls] Warning: Requested ballooning size (%RU32MB) exceeds set maximum ballooning size (%RU32MB), limiting ...\n", 414 pMachine->strName.raw(), ulBalloonReq, ulBalloonMax); 415 415 } 416 416 … … 429 429 430 430 vrc = balloonSetSize(pMachine, ulBalloonCur); 431 if (RT_SUCCESS(vrc))432 pData->ulBalloonMaxLast = ulBalloonMax;433 431 } 432 433 pData->ulBalloonReqLast = ulBalloonReq; 434 434 } 435 435 else
Note:
See TracChangeset
for help on using the changeset viewer.