pool.conf: always use the path from the config file

Previously we had cached a copy in Pool_role for no obvious reason.
Also, consolidate Pool_role and Pool_role_shared into Pool_role.

Signed-off-by: David Scott <dave.scott@citrix.com>
Delay reading pool.conf until after xapi.conf

This is important since xapi.conf includes the path to pool.conf

Signed-off-by: David Scott <dave.scott@citrix.com>
If not running on xen, discover memory from /proc/meminfo

Signed-off-by: David Scott <dave.scott@citrix.com>
If not running on xen, don't fail if we can't query the balloon driver

If there's no balloon driver, we assume the memory target = static_max

Signed-off-by: David Scott <dave.scott@citrix.com>
Merge pull request #1730 from djs55/pool.conf

pool.conf: always use the path from the config file
Add creedence release

Signed-off-by: John Else <john.else@citrix.com>

Conflicts:
	ocaml/idl/datamodel.ml
	ocaml/idl/datamodel_types.ml
Fix up release versions in datamodel

Signed-off-by: John Else <john.else@citrix.com>
Fix up release versions in upgrade rules

Signed-off-by: Si Beaumont <simon.beaumont@citrix.com>
Merge pull request #1735 from simonjbeaumont/creedence-versioning

Fix up release versions in master branch
If we're not running on xen, don't ask xenopsd-xc about memory

Signed-off-by: David Scott <dave.scott@citrix.com>
Query domain zero memory policy from squeezed

The domain zero memory policy is owned by squeezed, not xapi,
and therefore we should query it and reflect it in the datamodel.

Signed-off-by: David Scott <dave.scott@eu.citrix.com>
If we aren't running xen, then we don't have I/O virtualisation

Signed-off-by: David Scott <dave.scott@citrix.com>
Merge pull request #1740 from djs55/more-fixes

xenserver-core: allow startup without xen
s/Stringext/Xstringext/g

Signed-off-by: Jon Ludlam <jonathan.ludlam@citrix.com>