[new] New ocaml lib 'rrd-client' in order to move rrd2csv and RRDD plugins out of the xen-api repository
[fix] Fixing rrd-client compilation (a var was forgotten while merging)
[build] Adding RPM packaging information for the rrd-client library
Install xapi-rrd-devel package into PACKAGES.main as well.

RRD plugin framework should be installed by default for post-Tampa releases.

Signed-off-by: Rok Strniša <rok.strnisa@citrix.com>
Merge commit 'f8ade9e4ffe84806c8e6a49240f5f55526c80b22'
Merge commit '63d41a86fbbda3a384f41f97567222d4e0afd013'
Merge commit '05ed6e8fadf99757ec9f58d99623dd9822e1ad6d'
Merge commit 'f0f8d51673920e6a541cc0b8694dc5f1772a56c4'
b2bpatch applying diff c14a16374722c1bf8c95d2396353890cba6efb7c to d56c31fc17a96b5d0c12ff0f791e926d0a543fe6
CA-90857: VIF Port Locking Persistence

Issue:
While importing a VM through XenCenter, the VIF imported is destroyed and recreated.
The locking-mode field for VIF was of type DynamicRO and the VIF recreated by XenCenter always used to set it to network default.

Solution:
The locking-mode field for VIF was changed to type StaticRO, the constructor signature modified and then the vif record was constructed locally to preserve this field.

Signed-off-by: Siddharth Vinothkumar <siddharth.vinothkumar@citrix.com>
Merge pull request #912 from siddharthv/CA-90857
Revert previous reversion

Signed-off-by: Jon Ludlam <jonathan.ludlam@eu.citrix.com>
Merge branch 'master' of ../xen-api-trunk
Change permissions on detect_distro.sh

A side-effect of the recent large patch reversion/reapplication.

Signed-off-by: Jon Ludlam <jonathan.ludlam@eu.citrix.com>
Add a new host parameter: guest_VCPUs_params.

It has a similar function to that defined on guests, but it is per
host. It is also limited only to be used for defining masks, and
not on a per-vcpu basis (i.e., it defines which pcpus are available
for use by a VM at all). The VM and host masks are effectively
anded together to get the final mask.

Signed-off-by: Jon Ludlam <jonathan.ludlam@eu.citrix.com>
CA-93613: Balance memory raises an exception if squeezed is stopped

Signed-off-by: Jerome Maloberti <jerome.maloberti@citrix.com>
Merge pull request #929 from jeromemaloberti/CA-93613

CA-93613: Balance_memory raises an exception if squeezed is stopped
CA-95060: Keep trying xenopsd->SMAPI calls until they stop throwing ECONNREFUSED.

If xapi is not running, xenopsd should wait indefinitely for it to
return when trying to make SMAPI calls.

Signed-off-by: John Else <john.else@citrix.com>
CA-95060: Move exception No_storage_plugin_for_sr to storage_interface.ml

This makes it easier to catch for SMAPI clients, since it no longer gets
wrapped in a Storage_interface.Internal_error.

Signed-off-by: John Else <john.else@citrix.com>
Whitespace: Xenops_server_xen.Storage.dp_destroy

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