xapi-project/ocaml-xen-lowlevel-libs — pull request #23 by djs55 (2013-06-25 15:30:06+00:00)
Title: Work around unknown 'unknown' shutdown reasons

This should probably be fixed in libxl, consider this a workaround.

Although xen uses -1 as an 'unknown' shutdown reason, when this
is marshalled into a getdomaininfo domctl, it is masked with 0xff
and treated as an unsigned value.

Signed-off-by: David Scott