Fix error message in vif hotplug script

Signed-off-by: Rob Hoes <rob.hoes@citrix.com>
Switch from domid- to uuid-based private XS keys in classic backend

The "private" xenstore keys are keys that are used to store
xapi/xenopsd-specific information for use by device hotplug scripts and
similar. The classic backend used to store these at /xapi/<domid>/private/.
This patch moves them to /xapi/<uuid>/private. This makes the classic backend
more similar to the libxl backend, such that the hotplug scripts can be merged.

We have to be careful in particular with localhost migration (and anything
using localhost migration, such as VDI migration), where multiple domains exist
for the same VM at the same time on the same host. To avoid race conditions, we
must keep the hotplug keys in domid-based subtrees (moved from
/xapi/<domid>/hotplug to /xapi/<uuid>/hotplug/<domid>). We also must be sure to
not accidentally remove the keys we still need on domain destroy.

Signed-off-by: Rob Hoes <rob.hoes@citrix.com>
CA-141723: Allocate one evtchn per-VCPU in alignment hack

When allocating event channels at start-of-day for HVM guests so that they're
backwards-compatible with old PV drivers (see c1a4c42), make sure we allocate
one event channel for each VCPU since each VCPU will have an IO req. event
channel bound.

Signed-off-by: Si Beaumont <simon.beaumont@citrix.com>
Merge pull request #100 from robhoes/vif

Switch from domid- to uuid-based private XS keys in classic backend
Merge pull request #101 from simonjbeaumont/ca-141723

CA-141723: Allocate one evtchn per-VCPU in alignment hack
Move xenstore.ml into lib

Signed-off-by: Rob Hoes <rob.hoes@citrix.com>
Add more dom0 XS keys on startup

Signed-off-by: Rob Hoes <rob.hoes@citrix.com>
Merge pull request #102 from robhoes/vif

Add more dom0 XS keys on startup