CP-8888: Add diagnostic stats reporting

Signed-off-by: John Else <john.else@citrix.com>
CP-8888: Stop stats reporter before exiting

Signed-off-by: John Else <john.else@citrix.com>
Add clearwater-whetstone release to datamodel

Signed-off-by: John Else <john.else@citrix.com>
Update published version of PCI subsystem fields

These fields have been backported to Clearwater for hotfix Whetstone.

Signed-off-by: John Else <john.else@citrix.com>
s/activate/deactivate in VDI.deactivate

Fix what looks like the result of some copy and paste errors

Signed-off-by: Si Beaumont <simon.beaumont@citrix.com>
Merge pull request #1908 from simonjbeaumont/fix-logging

s/activate/deactivate in VDI.deactivate
Merge pull request #1903 from johnelse/subsystem-id-version-fixes

Updates for Clearwater Whetstone
Merge pull request #1873 from johnelse/cp-8888

CP-8888: Add diagnostic stats reporting
Revert "CA-143944: Allow suspend when PV drivers are present (as before)"
Merge pull request #1911 from xapi-project/revert-1896-pvdrivers-master

Revert "CA-143944: Allow suspend when PV drivers are present (as before)...
Revert "CP-9366: Use HVM feature-flags instead of checking PV drivers"
Merge pull request #1912 from xapi-project/revert-1894-hvmlinux

Revert "CP-9366: Use HVM feature-flags instead of checking PV drivers"
CA-110585: Setting snapshot_time for VDI before passing it to SM during
VDI.snapshot

Issue:The vdi snapshot time was being set after SM returned from
creating vdi.

Fix: The snapshot_time is now set before it being passed to SM.

Signed-off-by: Ravi Pandey <ravi.pandey@citrix.com>
Merge pull request #1913 from ravippandey/CA-110585_tr3

CA-110585: Setting snapshot_time for VDI before passing it to SM during
CA-121347: Fix inconsistency in HA checks

1. It's currently possible to make a halted VM, with ha_restart_priority="restart", non-agile.
2. It's not possible to set ha_restart_priority="restart" on a non-agile, halted VM.
3. It's not possible to start a non-agile VM that has ha_restart_priority="restart"
4. It's not possible to make a running VM, with ha_restart_priority="restart", non-agile.
5. It's not possible to set ha_restart_priority="restart" on a non-agile, running VM.

Point #1 is inconsistent with point #2 - #2 should be allowed.

Signed-off-by: Phus Lu <phus.lu@citrix.com>
Merge pull request #1914 from phusl/CA-121347

CA-121347: Fix inconsistency in HA checks
CP-9401: Factor out resources in Xapi_globs

Signed-off-by: Si Beaumont <simon.beaumont@citrix.com>
CP-9401: Make packs_dir configurable

Signed-off-by: Si Beaumont <simon.beaumont@citrix.com>
CP-9401: Use config file for executables in libexec

Stop using Fhs for libexecdir and make all the executables there configurable
options in the config file. The libexecdir is now on the search-path in the
config file.

Signed-off-by: Si Beaumont <simon.beaumont@citrix.com>
CP-9401: Remove unused OEM patch stream handler

Signed-off-by: Si Beaumont <simon.beaumont@citrix.com>