oasis: Include linker flags needed on Debian

This path is needed on Debian, where the Xen libraries are
installed in a non-standard path. It should not do any
harm on CentOS as it is an addition to the library search
path, not a replacement. Ideally the configure script
would fill the path in as appropriate.

Signed-off-by: Euan Harris <euan.harris@citrix.com>
Merge pull request #43 from euanh/debian

oasis: Include linker flags needed on Debian
Merge branch 'master' of git://github.com/xapi-project/xenopsd

Conflicts:
	_oasis
	_tags
	setup.ml
Merge branch 'master' of git://github.com/xapi-project/xenopsd

Conflicts:
	_tags
	setup.ml
Merge branch 'master' of git://github.com/xapi-project/xenopsd

Conflicts:
	_tags
	setup.ml
xc: ensure the xenstore keys for dom0 are created

When using dom0 as a driver domain (the default) we expect the
/vm/uuid/domains directory to exist.

Signed-off-by: David Scott <dave.scott@eu.citrix.com>
xc: when setting up dom0 xenstore entries, use a throwaway xenstore client

The fork() will destroy the dispatcher thread of any running
xenstore client, so we create one and throw it away afterwards.

Signed-off-by: David Scott <dave.scott@eu.citrix.com>
Replace /usr/libexec/xenopsd with the more standard /usr/lib/xenopsd

Note this will require a distro .spec file to change to match, since
these are scripts which encode the paths of other scripts. An alternative
approach would be to use the configure script's --libexec and --scriptsdir
arguments.

Signed-off-by: David Scott <dave.scott@eu.citrix.com>
configure: preprocess vif scripts and udev rules to substitute LIBEXEC(dir)

Signed-off-by: David Scott <dave.scott@eu.citrix.com>
Merge branch 'cp-5970' of git://github.com/simonjbeaumont/xenopsd into HEAD
Wait for the same hotplug path as upstream scripts, in all cases

Previously we used 'hotplug-status' for Vbds (good) but out own
custom path in '/xapi' for Vifs (bad). This makes xenopsd work with
both hotplug script versions.

Signed-off-by: David Scott <dave.scott@eu.citrix.com>
Merge pull request #51 from robhoes/master

xl: rename timeout function
Merge dead-end 0.9.32 branch into 0.9.33
Merge 0.9.34 branch into master

Conflicts:
	myocamlbuild.ml

Signed-off-by: Euan Harris <euan.harris@citrix.com>
Merge pull request #52 from euanh/merge-to-master

Merge 0.9.32 and 0.9.33 releases, then merge to master
CP-6172: Support configurable VBD backend path in Xenstore

This allows Blktap2 and Blktap3 to coexist.

Note: the backend path is specified by a new "backend-kind" key in the
extra_backend_keys of the VBD metadata.

Signed-off-by: Si Beaumont <simon.beaumont@citrix.com>
Re-enable build of watch_test binary
Added timeout testing to watch_test (FIXME)

The watch_test is not run as part of the build since it needs to be run in
dom0. Somewhere along the line, watches became broken in that they do not
timeout after the specified time.
Merge pull request #31 from simonjbeaumont/cp-6172-xenops-part

Separate Blktap2 and Blktap3 in XenStore
CP-6172: Add updates for vbd3 devices