This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


[Xen-devel] [PATCH 00 of 24] tools: IDL improvements and ocaml datatype

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH 00 of 24] tools: IDL improvements and ocaml datatype generation
From: Ian Campbell <ian.campbell@xxxxxxxxxx>
Date: Wed, 13 Apr 2011 15:36:41 +0100
Cc: Vincent Hanquez <Vincent.Hanquez@xxxxxxxxxxxxx>, Dave Scott <Dave.Scott@xxxxxxxxxxxxx>
Delivery-date: Wed, 13 Apr 2011 07:37:55 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mercurial-patchbomb/1.6.4
The following series makes some improvements to the libxl IDL and then
uses them to autogenerate the datatypes and datatype-conversion for
the ocaml bindings.

The series incorporates much of Dave Scott's ocaml interface cleanup
series but excludes the network QoS bits (patches 13..14/14 in his series)
since there were outstanding questions around that stuff.

I would appreciate some advice on the handling of the integer types
and their conversion from someone who knows about ocaml C bindings. In
particular the handling of >=32-bit integers (ocaml ints are 31 bits)
is not clear and probably intcorrect.

Not all of the datatypes are actually usable via the ocaml interfaces
yet since the stub functions have not been implemented. I used
-Wno-unused for now but this should go away as the set of stub
functions is completed.

Xen-devel mailing list