Use SMAPIv2 VDI.stat for XenAPI VDI.update rather than SMAPIv1 vdi_update

Signed-off-by: Jon Ludlam <jonathan.ludlam@eu.citrix.com>
Annotate the startup tasks with the current operation

Signed-off-by: Jon Ludlam <jonathan.ludlam@citrix.com>
Make more dbsync things switched

Signed-off-by: Jon Ludlam <jonathan.ludlam@citrix.com>
Use busybox for udhcpd

Signed-off-by: Jon Ludlam <jonathan.ludlam@citrix.com>
CA-142533: Don't keep fd open for /dev/vga_arbiter

Signed-off-by: Si Beaumont <simon.beaumont@citrix.com>
Merge pull request #1899 from jonludlam/udhcpd-xscore

Use busybox for udhcpd
examples: add a streaming HTTP export/import example

The example shows how to
  - export by HTTP GET
  - import by HTTP PUT
  - pipe an export into an import with error handling

Signed-off-by: David Scott <dave.scott@citrix.com>
Merge pull request #1918 from simonjbeaumont/ca-142533

CA-142533: Don't keep fd open for /dev/vga_arbiter
Update cli_frontend.ml

fix documentation for vif- and vdi mappings
Merge pull request #1922 from zaiyers/master

Update cli_frontend.ml
Release 1.9.53

Signed-off-by: David Scott <dave.scott@citrix.com>
Merge pull request #1923 from djs55/release-1.9.53

Release 1.9.53
Read the inventory file after the command-line and config file

The command-line and inventory file allow the inventory file path
to be configured, therefore we must delay reading it.

Signed-off-by: David Scott <dave.scott@eu.citrix.com>
Add inventory and use-switch keys to the xapi.conf

The defaults from the code are written in comments, then
overridden with the XenServer defaults.

Signed-off-by: David Scott <dave.scott@eu.citrix.com>
Merge pull request #1924 from djs55/fix-opam

Fixes to allow an opam binary to replace a dom0 one
CA-145257: Set the right month for host_crashdump.

Date.of_float increments tm_mon by 1.So, we need to pass tm_mon value
decremented by 1.

Signed-off-by: Ravi Pandey <ravi.pandey@citrix.com>
Merge pull request #1927 from johnelse/ca-145257-master

CA-145257: Set the right month for host_crashdump.
CA-100400: Store the event size alongside the event in the event.next queue

Signed-off-by: Jon Ludlam <jonathan.ludlam@citrix.com>

Conflicts:
	ocaml/xapi/xapi_event.ml
CA-100400: GC event queue based on size rather than number.

Signed-off-by: Jon Ludlam <jonathan.ludlam@citrix.com>

Conflicts:
	ocaml/xapi/xapi_event.ml
CA-144941: Don't checksum the gpg binary

We are already checking the signature of the patch contents, it seems silly to
also checksum the gpg binary itself. It's also becoming a bit of a maintenance
burden and cumbersome in the open source world where this checksum will be
different on every version of every distro.

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