libxl: Add LIBXL_SHUTDOWN_REASON_UNKNOWN
authorRob Hoes <rob.hoes@citrix.com>
Thu, 22 Aug 2013 10:50:49 +0000 (11:50 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Tue, 10 Sep 2013 10:44:02 +0000 (11:44 +0100)
commit11c76da7ba0ecbbf7761e9245b5297bb6395e41d
tree0cf281c09687ba37d238b447ba608c7f326e6e99
parent7bd26ee30d01c36cb94f9a246bf03e8b4f902da9
libxl: Add LIBXL_SHUTDOWN_REASON_UNKNOWN

libxl_dominfo.shutdown_reason is valid iff (shutdown||dying). This is a bit
annoying when generating language bindings since it needs all sorts of special
casing. Just introduce an explicit value instead.

Signed-off-by: Ian Campbell <ian.cambell@citrix.com>
Signed-off-by: Rob Hoes <rob.hoes@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/libxl/libxl.c
tools/libxl/libxl_types.idl