libxl_exec: Add libxl__spawn_initiate_failure
authorAnthony PERARD <anthony.perard@citrix.com>
Thu, 26 Jul 2018 16:12:52 +0000 (17:12 +0100)
committerWei Liu <wei.liu2@citrix.com>
Fri, 11 Jan 2019 14:57:52 +0000 (14:57 +0000)
commit15c63d33eab32b1d23bb78a7e3a9eaf62f5226f2
tree217c0e13731fdcd20a9116e6575aaa67db9d710e
parenta40e753fa1fe2d63dda63badd3807af40e3f7656
libxl_exec: Add libxl__spawn_initiate_failure

This function can be used by user of libxl__spawn_* when they setup a
notification other than xenstore. The parent can already report success
via libxl__spawn_initiate_detach(), this new function can be used for
failure instead of waiting for the timeout.

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