CA-143838: let network configure all physical and bond interfaces on startup

If a VLAN is used for storage and is configured to use jumbo frames (MTU =
9000), then XS does not immediately enable jumbo frames on the interface at
boot time. Specifically, if HA is enabled, the HA daemon is unable to access
the storage device, and blocks the host's startup process for a long time.

Networkd can be told to bring up interfaces and bridges at boot time, which is
before xapi is started, and before anything else may need the network. This is
done by marking the interface/bridge as "persistent". Currently, all
interfaces/bridges with an IP address in dom0 are made persistent. This
includes VLAN bridges, but not the interface that the VLAN is based on, which
is what caused the bug.

To simplify, this patch makes all physical and bond interfaces/bridge
persistent, besides all other interface/bridges that have an IP address.

Signed-off-by: Rob Hoes <rob.hoes@citrix.com>
CA-141856: Preserve update barrier ordering

Signed-off-by: Si Beaumont <simon.beaumont@citrix.com>
Merge commit '33665b62dce390a4598544edaac5d11c8adb1bce'
CA-142107: Remove misleading use of Xenguest when logging failures

Signed-off-by: Si Beaumont <simon.beaumont@citrix.com>
Correct spelling (s/exitted/exited) in log message

Signed-off-by: Si Beaumont <simon.beaumont@citrix.com>
CA-142107: Improve logging in cancellable_subprocess

Signed-off-by: Si Beaumont <simon.beaumont@citrix.com>
CA-142107: Log conversion script process exiting

Signed-off-by: Si Beaumont <simon.beaumont@citrix.com>
Merge pull request #1901 from simonjbeaumont/ca-142107-xs64bit-2

CA-142107 #2: Improve logging around migration script
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>
Merge pull request #1889 from robhoes/persistent

CA-143838: let network configure all physical and bond interfaces on sta...
Revert "CA-143944: Allow suspend when PV drivers are present (as before)"
Merge pull request #1905 from xapi-project/revert-1895-pvdrivers

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 #1906 from xapi-project/revert-1885-hvm-feature-flags

Revert "CP-9366: Use HVM feature-flags instead of checking PV drivers."
Merge commit '6272d2539f0a6934dbdb23ff06bb41dacb5ba26f'
Merge pull request #1902 from johnelse/subsystem-id-version-fixes-xs64bit

Updates for Clearwater Whetstone
Merge remote-tracking branch 'creedence/master' into xs64bit-ring3

Merging creedence into staging branch due to cherry picking of CA-141856
fix.
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>
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>