Update to xen-4.4 by removing xenguest bindings

The xenopsd tool will use a stand-alone xenguest helper binary.

Signed-off-by: David Scott <dave.scott@citrix.com>
Add a xen-4.4 specific 'xenguest' binary

Signed-off-by: David Scott <dave.scott@citrix.com>
Add xen-4.2 xenguest

Signed-off-by: David Scott <dave.scott@citrix.com>
Conditionally compile xenguest for xen-4.2

Signed-off-by: David Scott <dave.scott@citrix.com>
Correct the xen-4.4 detection

Signed-off-by: David Scott <dave.scott@citrix.com>
Fix more Makefile runes

Signed-off-by: David Scott <dave.scott@citrix.com>
libxl: ocaml: guard x86-specific functions behind an ifdef

The various cpuid functions are not available on ARM, so this
makes them raise an OCaml exception.  Omitting the functions
completely results in a link failure in oxenstored due to the
missing symbols, so this is preferable to the much bigger patch
that would result from adding conditional compilation into the
OCaml interfaces.

With this patch, oxenstored can successfully start a domain on
Xen/ARM.

Signed-off-by: Anil Madhavapeddy <anil@recoil.org>
Acked-by: David Scott <dave.scott@eu.citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
configure: detect HVM_PARAM_VIRIDIAN

Signed-off-by: David Scott <dave.scott@citrix.com>
arm: if /usr/include/xen/arch-arm/hvm/save.h doesn't exist, create it

The file is empty anyway, but missing in the libxen-dev package.

Signed-off-by: David Scott <dave.scott@citrix.com>
arm: create the missing header before trying to use it

Signed-off-by: David Scott <dave.scott@citrix.com>
xen-4.2: move xenguest stubs into a library xenguest42

Without this change, OASIS will create a link order which doesn't
work on Ubuntu-13.04

Signed-off-by: David Scott <dave.scott@citrix.com>
Merge pull request #50 from djs55/xen-4.4

Conditionally compile against xen 4.2 and 4.4
Don't install the xenguest42 helper library

It's only used for building the xenguest binary.

Signed-off-by: David Scott <dave.scott@citrix.com>
Merge pull request #51 from djs55/xen-4.4

Don't install the xenguest42 helper library
Don't build xenguest if we're not building xenctrl

Signed-off-by: Jon Ludlam <jonathan.ludlam@citrix.com>
Merge pull request #52 from jonludlam/fix-trunk-ring3-build

Don't build xenguest if we're not building xenctrl
Don't install xenguest if we're not building it.

Signed-off-by: Jon Ludlam <jonathan.ludlam@citrix.com>
Merge pull request #53 from jonludlam/fix-trunk-ring3-build

Don't install xenguest if we're not building it.
Import changeset 386:b03b9dc4f68b from XenServer's xen-4.4.pq.hg

Original commit message:

    CP-8777 - Allow Xapi to query whether xenguest read/writes a legacy stream or a v2 stream

Authored-by: Andrew Cooper <andrew.cooper3@citrix.com>
Imported-by: Si Beaumont <simon.beaumont@citrix.com>
Merge pull request #54 from simonjbeaumont/migv2

Import changeset 386:b03b9dc4f68b from XenServer's xen-4.4.pq.hg