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 <[email protected]>
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
[email protected]
http://lists.xensource.com/mailman/listinfo/xen-api

Reply via email to