|
|
|
|
|
|
|
|
|
|
xen-api
[Xen-API] [PATCH 0 of 3] Ballooning daemon fixes
Bugfixes for the memory ballooning daemon, specificially:
* prevent the daemon from doing anything to a domain (eg setting maxmem) if it
has not exposed feature-balloon: this prevents it doing something unfortunate
such as capping a domain which hasn't yet allocated its VGA framebuffer
* when setting maxmem, make sure that the target is <= maxmem: this required
rewriting the logic which monitored domains for co-operativeness.
Also, add a check to the ballooning simulator that target is always <= maxmem;
add a scenario to the simulator which triggers the assert before the fix is
applied and which doesn't trigger the assert after the fix is applied.
Signed-off-by: David Scott <dave.scott@xxxxxxxxxxxxx>
3 files changed, 119 insertions(+), 65 deletions(-)
ocaml/xenops/squeeze.ml | 79 ++++++++++++++++++++-------------------
ocaml/xenops/squeeze_test.ml | 83 ++++++++++++++++++++++++++++++++----------
ocaml/xenops/squeeze_xen.ml | 22 ++++++-----
_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-API] [PATCH 0 of 3] Ballooning daemon fixes,
David Scott <=
|
|
|
|
|