[PCR-0047] Enhances guest-memory-field-checking logic so that XCP can choose the most appropriate set of constraints to apply for the current context.
By default, XCP constrains guest memory fields according to: static-min <= dynamic-min <= dynamic-max <= static-max. In addition to the default behaviour, it's now possible to configure XCP to constrain guest memory fields according to: static-min <= dynamic-min = dynamic-max = static-max. 9 files changed, 423 insertions(+), 283 deletions(-) ocaml/license/restrictions.ml | 384 +++++++++++++------------ ocaml/license/restrictions.mli | 34 +- ocaml/util/ocamltest.ml | 3 ocaml/util/ocamltest.mli | 3 ocaml/util/vm_memory_constraints.ml | 114 ++++--- ocaml/xapi/quicktest_vm_memory_constraints.ml | 87 ++++- ocaml/xapi/xapi_vm.ml | 17 - ocaml/xapi/xapi_vm_helpers.ml | 29 - ocaml/xapi/xapi_vm_memory_constraints.ml | 35 ++ _______________________________________________ xen-api mailing list [email protected] http://lists.xensource.com/mailman/listinfo/xen-api
