]> xenbits.xensource.com Git - xen.git/commit
libxl: create xenstore nodes for control/feature-XXX flags
authorPaul Durrant <paul.durrant@citrix.com>
Mon, 1 Aug 2016 08:57:10 +0000 (09:57 +0100)
committerWei Liu <wei.liu2@citrix.com>
Tue, 2 Aug 2016 16:03:10 +0000 (17:03 +0100)
commit09a4ef83511ba33e08b3c712497ec0d67a5ec6d7
tree19a16e00df304fc29ccf516efa8bcb23d9428020
parent25131cea72bfe8ce25cadc689df34e7e8b1596f9
libxl: create xenstore nodes for control/feature-XXX flags

The xenstore-paths documentation specifies various control/feature-XXX
flags to allow a guest to tell a toolstack about its abilities to
respond to values written to control/shutdown. However, because the
parent control xenstore key is created read-only to the guest, unless
empty nodes for the feature flags are also created reat/write by the
toolstack, the guest will not be able to set any flags.

This patch adds code to create all specified feature flag nodes at
domain creation time.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
Cc: Ian Jackson <ian.jackson@eu.citrix.com>
Cc: Wei Liu <wei.liu2@citrix.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
tools/libxl/libxl_create.c