]> xenbits.xensource.com Git - xen.git/commit
tools: ocaml: Add an ocaml binding for libxl_get_topologyinfo
authorDavid Scott <dave.scott@eu.citrix.com>
Thu, 31 Mar 2011 18:02:55 +0000 (19:02 +0100)
committerDavid Scott <dave.scott@eu.citrix.com>
Thu, 31 Mar 2011 18:02:55 +0000 (19:02 +0100)
commitdfbc8d219a97308ce5918afc19bca92d00fe593c
treee020b0acc22eabd1f119b1fff7124645e4614ad3
parentbb25b4b9133f9792f606bd19a165bbb404afa491
tools: ocaml: Add an ocaml binding for libxl_get_topologyinfo

Add an ocaml binding for libxl_get_topologyinfo in the style of
libxl_get_physinfo.

The function returns an array of optional records, one per possible pCPU.

Signed-off-by: David Scott <dave.scott@eu.citrix.com>
Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/ocaml/libs/xl/xl.ml
tools/ocaml/libs/xl/xl.mli
tools/ocaml/libs/xl/xl_stubs.c