First set of Ocaml fixes, cleaned up from series posted previously. Patch 1 fixes a logical error introduced in the xenstore live update support.
Patches 2-5 fix oxenstored to keep /dev/xen/evtchn open across live update. Patches 6-8 fix various issues with diagnostics. All previous feedback applied, but I've started this series again to avoid confusion. Andrew Cooper (1): tools/oxenstored: Fix incorrect scope after an if statement Edwin Török (7): tools/ocaml/evtchn: OCaml 5 support, fix potential resource leak tools/ocaml/evtchn: Add binding for xenevtchn_fdopen() tools/ocaml/evtchn: Extend the init() binding with a cloexec flag tools/oxenstored: Keep /dev/xen/evtchn open across live update tools/oxenstored: Log live update issues at warning level tools/oxenstored: Set uncaught exception handler tools/oxenstored/syslog: Avoid potential NULL dereference tools/ocaml/libs/eventchn/xeneventchn.ml | 6 +- tools/ocaml/libs/eventchn/xeneventchn.mli | 13 +++- tools/ocaml/libs/eventchn/xeneventchn_stubs.c | 50 ++++++++++++-- tools/ocaml/xenstored/domain.ml | 6 +- tools/ocaml/xenstored/domains.ml | 14 ++-- tools/ocaml/xenstored/event.ml | 8 ++- tools/ocaml/xenstored/logging.ml | 29 +++++++++ tools/ocaml/xenstored/syslog_stubs.c | 7 +- tools/ocaml/xenstored/xenstored.ml | 94 ++++++++++++++++++--------- 9 files changed, 179 insertions(+), 48 deletions(-) -- 2.11.0