aboutsummaryrefslogtreecommitdiffstats
path: root/tools/ocaml
diff options
context:
space:
mode:
authorIan Jackson <ian.jackson@eu.citrix.com>2012-01-27 17:01:22 +0000
committerIan Jackson <ian.jackson@eu.citrix.com>2012-01-27 17:01:22 +0000
commit328eb1ab8ac325ea58110b68ec866f0f2fa05625 (patch)
tree88588c3105220142ae91be7ac0b208dcd62f7f33 /tools/ocaml
parente70f7c8c130797369e9a920edf3aad6078b91384 (diff)
downloadxen-328eb1ab8ac325ea58110b68ec866f0f2fa05625.tar.gz
xen-328eb1ab8ac325ea58110b68ec866f0f2fa05625.tar.bz2
xen-328eb1ab8ac325ea58110b68ec866f0f2fa05625.zip
libxl: New event generation API
Replace the existing API for retrieving high-level events (events about domains, etc.) from libxl with a new one. This changes the definition and semantics of the `libxl_event' structure, and replaces the calls for obtaining information about domain death and disk eject events. This is an incompatible change, sorry. The alternative was to try to provide both the previous horrid API and the new one, and would also involve never using the name `libxl_event' for the new interface. The new "libxl_event" structure is blacklisted in the ocaml bindings for two reasons: - It has a field name "type" (which is a keyword in ocaml); the ocaml idl generator should massage this field name on output, to "type_" perhaps. - The ocaml idl generator does not support KeyedUnion. Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com> Acked-by: Ian Campbell <ian.campbell@citrix.com> Committed-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
Diffstat (limited to 'tools/ocaml')
-rw-r--r--tools/ocaml/libs/xl/genwrap.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/ocaml/libs/xl/genwrap.py b/tools/ocaml/libs/xl/genwrap.py
index 00583d2267..b46ee10925 100644
--- a/tools/ocaml/libs/xl/genwrap.py
+++ b/tools/ocaml/libs/xl/genwrap.py
@@ -275,6 +275,7 @@ if __name__ == '__main__':
"device_model_info",
"vcpuinfo",
"topologyinfo",
+ "event",
]
for t in blacklist: