Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CA-64903: avoid "leaking" memory when a VM with no balloon driver is …
…present on the system. When a domain is starting, we allow is to use up to an "initial-reservation" (a soft limit managed by squeezed). Previously we considered the VM to have reached a stable memory state when the feature-balloon flag was written; this never happens if the guest has no balloon driver. We now consider the VM to have booted if either feature-balloon is written OR data/updated is written by the guest agent. Once a domain has started, we set maxmem to the current total pages, releasing the unused parts of "initial-reservation". Signed-off-by: David Scott <dave.scott@eu.citrix.com>
- Loading branch information
David Scott
committed
Aug 10, 2011
1 parent
e46dc43
commit 60a4956
Showing
1 changed file
with
29 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters