Fix a couple of issues with the VIF script

1. Python 2.4 doesn't have the json module, so use simplejson instead
2. Prefer XENBUS_TYPE over the command line argument for the vif script
3. Pass the VM's uuid to setup_vif_rules rather than the domid

Signed-off-by: Jon Ludlam <jonathan.ludlam@eu.citrix.com>
Add back an important synchronisation point that had fallen off

This was breaking suspend/resume/migrate on windows guests with
PV drivers.

Signed-off-by: Jon Ludlam <jonathan.ludlam@eu.citrix.com>
Update to 0.9.22

Signed-off-by: David Scott <dave.scott@eu.citrix.com>
Fix the direct invocation of setup-vif-rules

Signed-off-by: Jon Ludlam <jonathan.ludlam@eu.citrix.com>
Merge branch 'master' of github.com:xapi-project/xenopsd
Update to xenstore interface in 1.2.3

'with_xs' becomes 'immediate'
'with_xst' becomes 'transaction'

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

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

Signed-off-by: David Scott <dave.scott@eu.citrix.com>
Merge branch 'master' of git://github.com/xapi-project/xenopsd
Update xenlight backend to use xenstore 1.2.3

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

Signed-off-by: David Scott <dave.scott@eu.citrix.com>
Fixes for vif locking mode

Signed-off-by: Jon Ludlam <jonathan.ludlam@eu.citrix.com>
xenlight: use Xenlight defaults wherever we can

When a field is added to a type of the libxl IDL, the Xenlight OCaml bindings
turn this into an additional field in a record type.  This would generally mean
that we would have to change our code to take the new field into account.

However, the bindings provide "default" functions that return records with
libxl's defaults filled into, and all fields present. We can therefore make our
code work without change by getting default records from Xenlight, and using
the "with" syntax to fill in just the fields we need and know.

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

xenlight: use Xenlight defaults wherever we can