libxl: libxl: Introduce dm-version xenstore key.
authorAnthony PERARD <anthony.perard@citrix.com>
Fri, 4 Nov 2011 12:38:23 +0000 (12:38 +0000)
committerAnthony PERARD <anthony.perard@citrix.com>
Fri, 4 Nov 2011 12:38:23 +0000 (12:38 +0000)
commit6291ab8bf8317537953e1fee900100fd72f8cb63
treeb768708b72777ffc3c45c27798626d0cc9e29028
parent46e9ab5b1c86bded86eb95c124839c4db1b7c5fa
libxl: libxl: Introduce dm-version xenstore key.

The all key is /libxl/$domid/dm-version.

The /libxl/$domid dir is created with the domain and should be only accessible
by the toolstack domain. The function libxl__xs_libxl_path() give this path.

This come with libxl__device_model_version_running() helper function.

Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Committed-by: Ian Jackson <ian.jackson.citrix.com>
tools/libxl/libxl.c
tools/libxl/libxl_create.c
tools/libxl/libxl_internal.c
tools/libxl/libxl_internal.h
tools/libxl/libxl_xshelp.c