xapi-project/xen-api — pull request #1856 by simonjbeaumont (2014-07-29 13:04:39+00:00)
Title: [xs64bit] CA-141366: Don't continue domain build if not enough memory 

As part of the domain build, a function is called to wait_xen_free_mem which
will wait for the scrubber to free up memory and return a boolean when it is
finished or if it would never succeed. This changeset takes this value into
account when deciding whether to proceed with the domain build and fails if the
call to wait_xen_free_mem returns false like in then set_shadow_multiplier in
both the Xenops_server_xen and Xenops_server_xenlight modules.