CA-109476: Read rrd plugin timestamp as int64

It's written as an int64 by the plugin library. Also, a standard int
isn't big enough to hold a typical Unix epoch.

This value isn't actually used, rrdd just relies on it changing so
that the plugin payload's checksum changes even if the data source
values stay the same. However, it would be nice if it's correct in
case we do ever want to use it!

Signed-off-by: John Else <john.else@citrix.com>
CA-58172:Better text for VDI_ON_BOOT_MODE_INCOMPATABLE_WITH_OPERATION error

Signed-off-by: Akshay Ramani <akshay.ramani@citrix.com>
Correct the spelling of vdi_on_boot_mode_incompatable_with_operation
Fix spelling
Remove a modprobe warning in new systems.

New modprobe give a warning if configuration files do not end with .conf.
Add .conf to /etc/modprobe.d/blacklist-bridge in order to avoid this
warning.

Signed-off-by: Frediano Ziglio <frediano.ziglio@citrix.com>
Bump version to 1.11.0 and update changelog

Signed-off-by: Mike McClurg <mike.mcclurg@citrix.com>
Merge pull request #1360 from mcclurmc/changelog

Bump version to 1.11.0 and update changelog
Merge pull request #1353 from akshayramani/CA-58172

CA-58172:Better text for VDI_ON_BOOT_MODE_INCOMPATABLE_WITH_OPERATION er...
CA-111270: Document VM_guest_metrics.memory as holding no data.
Nothing has been written to this field since before George
(XS5.5 release in 2008). It was disabled in favour of the RRD
data sources.

Signed-off-by: Thomas Sanders <thomas.sanders@citrix.com>
CA-111269: Document VM_guest_metrics.disks as holding no data.
Nothing has been written to this field since before XenServer 5.0.

Signed-off-by: Thomas Sanders <thomas.sanders@citrix.com>
CA-98090: (XOP-206) Block SXM when VM cannot match any bridge names on
destination.
Revert "CA-84673: Metadata import should create a network if it can't find one"

This reverts commit 99f82b7cecb961f9bf0da966a38e67bae618653b.
CA-109300: nm: correctly set persistence on parent bridge of VLAN

A VLAN bridge is never "persistent" (i.e. it is never brought up by
networkd on startup), while the parent bridge of the VLAN may be
persistent (in case it has a management IP address).

The bug was that, when creating a VLAN, it set the persistence of
the parent bridge equal to the persitence of the VLAN.

Signed-off-by: Rob Hoes <rob.hoes@citrix.com>
Merge pull request #1363 from robhoes/ca109300

CA-109300: nm: correctly set persistence on parent bridge of VLAN
CA-95722:Prevent migration of VM's onto hosts that are in maintenance mode.
Signed-off-by: Akshay Ramani <akshay.ramani@citrix.com>
Fix indent
Signed-off-by: Akshay Ramani <akshay.ramani@citrix.com>
Merge pull request #1365 from akshayramani/CA-95722.a

CA-95722:Prevent migration of VM's onto hosts that are in maintenance mo...
Use more modern upstream libraries.

* Remove Fhs.vardir - this is now /var/lib/xcp
* Use Xenstore library from ocaml-xenstore
* Use Xenctrl library from ocaml-xen-lowlevel-libs
* Syslog -> Syslog_transitional to avoid conflict with upstream package
* Fix ocamldoc to work with Ocaml 4.00.1
* Use upstream rpclib instead of xen-api-libs fork
* Remove some unused code
* Remove some instances of xiu checks

Signed-off-by: Jon Ludlam <jonathan.ludlam@eu.citrix.com>
Signed-off-by: Si Beaumont <simon.beaumont@citrix.com>
Respond to comments on PR#1376

Signed-off-by: Jon Ludlam <jonathan.ludlam@eu.citrix.com>
Merge pull request #1376 from jonludlam/ea-1254-unified

Use more modern upstream libraries.
CA-108916: add call to V6rpc.get_current_edition API

We add this API so that when v6d returns a failure on apply_edition, xapi is
able to find out the correct edition to set itself to. This fixes a "bug"
(design decision, really) where 1) v6d holds a valid license, 2) xapi
apply_edition with bad license-server url, 3) v6d release license, and fails to
check out new license, 4) xapi remains at the current licensed edition, but v6d
doesn't hold the license for that edition.

Signed-off-by: Mike McClurg <mike.mcclurg@citrix.com>