Receive the memory image over a 'channel' sent via an RPC, rather than ad-hoc fd passing

Signed-off-by: David Scott <dave.scott@eu.citrix.com>
Remove the handling of loop devices, since this is all handled by the storage plugins.

Signed-off-by: David Scott <dave.scott@eu.citrix.com>
When cleaning up a VIF, run the hotplug scripts before waiting for them to finish (!)

Fixes #19

Signed-off-by: David Scott <dave.scott@eu.citrix.com>
Fix VIF hotplug scripts following multi-xenopsd support

The script needs to find the vif metadata, which is stored
in a different directory for each xenopsd backend. We plumb through
the name of the backend so the script can find it.

With this change, the interface is properly brought up and
port-locking rules activated.

Fixes #18

Signed-off-by: David Scott <dave.scott@eu.citrix.com>
Create all VBD devices, including the first one (!)

A spurious 'List.tl' got merged in, causing the first disk to
be ignored.

Fixes #20

Signed-off-by: David Scott <dave.scott@eu.citrix.com>
Improve the logging around the xenopsd <-> storage interface.

Signed-off-by: David Scott <dave.scott@eu.citrix.com>
Port generationid patch to xenopsd

Based on xen-api 3ac4f168beb096a9af64ead21e4467dbc4c58cb7

Signed-off-by: David Scott <dave.scott@eu.citrix.com>
Improve the exception if the command-line is slightly wrong

This allows us to distinguish between: a parameter not being
registered (which means a missing definition in the code) vs
a parameter not being provided (which means a caller error)

Signed-off-by: David Scott <dave.scott@eu.citrix.com>