CA-98393/SCTX-1190: Prevent xal exception if console/vnc-port is missing.

Which can happen if disable_pv_vnc=true is specified in other-config.
This commit fixes the problem related to CA-90566.

Signed-off-by: Jerome Maloberti <jerome.maloberti@citrix.com>
CP-4277: Allow unsigned patches to be installable

This is controlled by the presence of the hotfix file's sha1sum
in the FIST-point "allowed_unsigned_patches".

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

BOSTON-LCM: CP-4277: Allow unsigned patches to be installable
Whitespace: Xapi_pv_drivers_version.of_drivers_version.

$ camlp4o -printer o -no_comments ocaml/xapi/xapi_pv_driver_version.ml | md5sum
5605b59b4dae1e43796c0b158ae99dcd  -
$ git checkout HEAD^
$ camlp4o -printer o -no_comments ocaml/xapi/xapi_pv_driver_version.ml | md5sum
5605b59b4dae1e43796c0b158ae99dcd  -

Signed-off-by: John Else <john.else@citrix.com>
CA-89023: Fix PV tools OS type detection.

Using the /drivers/xenvbd xenstore key to flag that a guest is Windows
is problematic, since:

1. This key goes away after suspend/resume or migrate, so cannot be
   relied upon to mark PV tools as out of date after a rolling pool upgrade.
2. This key isn't written at all by the Tampa PV drivers.

Instead, we now check that /data/os_distro equals "windows" - this value is
hardcoded in the windows guest agent.

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

Signed-off-by: John Else <john.else@citrix.com>
Fix the bug in RRD when the domid of a VM changes because it rebooted.

Signed-off-by: Jerome Maloberti <jerome.maloberti@citrix.com>
Merge pull request #1286 from siddharthv/HFX-812

HFX-812: Fix the bug in RRD when the domid of a VM changes because it rebooted.
Merge pull request #1285 from siddharthv/HFX-748

HFX-748: Fix for correctly reporting out of date tools!
Merge pull request #1003 from jeromemaloberti/CA-98393-boston-lcm

CA-98393/SCTX-1190: Prevent xal exception if console/vnc-port is missing.
Whitespace: Reformat Pool.create_VLAN_from_PIF

$ camlp4o -printer o -no_comments xapi_pool.ml | md5sum
6afb19c9cff915091d37775375954312

Signed-off-by: Si Beaumont <simon.beaumont@citrix.com>
CA-106560: Create VLANs on slaves that are in 'Maintenance Mode'

Weaken the condition for creating VLANs on slaves during
a Pool.create_VLAN_from_PIF from hosts that are enabled to hosts that are live
(according to the host metrics). This enables the VLAN to be created on slaves
that are in XenCenter's 'Maintenance Mode'.

Signed-off-by: Si Beaumont <simon.beaumont@citrix.com>
Merge pull request #1307 from siddharthv/SI-CA-106560

CA-106560: Create VLANs on slaves that are in 'Maintenance Mode'