CA-137467: Revert "CP-5970: Move xenops' cancellable watch paths"

This reverts commit 62b69186e414b19c8a4fb69c1925bc287631eb9f.
CA-137467: Move get_private_path to shared location

Signed-off-by: Si Beaumont <simon.beaumont@citrix.com>
CA-137467: Move cancel paths into private XenStore tree

Move all of the xenopsd paths out of the paths used by the XenBus protocol
(/local/domain/<backend-domid>/<device-kind>/<frontend-domid>/...) and into the
already-existing private subtree it maintains.

Signed-off-by: Si Beaumont <simon.beaumont@citrix.com>
Add back the internal events into xc backend

Signed-off-by: Jon Ludlam <jonathan.ludlam@citrix.com>
Add internal updates back into xenlight backend

Signed-off-by: Jon Ludlam <jonathan.ludlam@citrix.com>
event_wait now takes a 'local_updates' param

This is so it can be used in the two different contexts required

Signed-off-by: Jon Ludlam <jonathan.ludlam@citrix.com>
Merge pull request #79 from jonludlam/fix_bvt_blocker

Fix bvt blocker
CA-124378: Default acpi_s{3,4} to 0 in platformdata

Signed-off-by: Jon Ludlam <jonathan.ludlam@citrix.com>
Merge pull request #78 from simonjbeaumont/xenops-paths

Move Xenops related data into private XenStore subtree
Merge pull request #80 from jonludlam/CA-124378

CA-124378: Default acpi_s{3,4} to 0 in platformdata
CA-136278: ensure '/local/domain/0/domid = 0'

This is needed for libxl functions to work. Without this expect strange
errors.

Signed-off-by: David Scott <dave.scott@citrix.com>
CA-136150: always create /var/run/xen (if it doesn't already exist)

libxl will fail to execute pygrub without this directory.

Signed-off-by: David Scott <dave.scott@citrix.com>
Merge pull request #81 from djs55/CA-136276

Make libxl happy
CA-138930: Xapi should not call domain_set_memmap_limit for HVM domains.

Since Xen 4.2 the hypercall behind xc_domain_set_memmap_limit() is not
permitted for HVM domains. Xapi should only call this for PV domains.

Signed-off-by: Akshay <akshay.ramani@citrix.com>
CA-139894: Fix waiting for VM.remove

Due to a change in semantics of UPDATES.get, task_wait would
occasionally not wait.

This also adds back in error handling into the VM.remove path.

Signed-off-by: Jon Ludlam <jonathan.ludlam@citrix.com>
Add a comment showing why an assert is there.

Signed-off-by: Jon Ludlam <jonathan.ludlam@citrix.com>
Merge pull request #83 from jonludlam/CA-139894

CA-139894
Merge pull request #82 from akshayramani/HVM

CA-138930: Xapi should not call domain_set_memmap_limit for HVM domains.