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>
CP-9401: Don't use Fhs for xha directory (+ make it configurable)

Signed-off-by: Si Beaumont <simon.beaumont@citrix.com>
CP-9401: Don't use Fhs for hooks directory (+ make it configurable)

Signed-off-by: Si Beaumont <simon.beaumont@citrix.com>
CP-9401: Don't use Fhs for plugin directory (+ make it configurable)

Signed-off-by: Si Beaumont <simon.beaumont@citrix.com>
CP-9401: Don't use Fhs for gpg directory (+ make it configurable)

Signed-off-by: Si Beaumont <simon.beaumont@citrix.com>
CP-9401: Don't use Fhs.etcdir; instead use configurable paths

Signed-off-by: Si Beaumont <simon.beaumont@citrix.com>
CP-9401: Don't use Fhs.bindir; instead use configurable paths

Make the paths to the binaries configurable and add the directory to the search
path.

Signed-off-by: Si Beaumont <simon.beaumont@citrix.com>
CP-9401: Don't use Fhs for web directory (+ make it configurable)

Signed-off-by: Si Beaumont <simon.beaumont@citrix.com>
CP-9401: Don't use Fhs for tools SR path (+ make it configurable)

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