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] Re: [PATCH] ocaml: xc bindings: use libxenctrl and libxengue

Ian Campbell writes ("[Xen-devel] Re: [PATCH] ocaml: xc bindings: use 
libxenctrl and libxenguest"):
> libxenctrl has infrastructure to record and retrieve the last error --
> it could perhaps with being more widely/consistently used. This would be
> a good project for someone.

More, since the interface change, it has the facility to call back to
the application for logging.  There should no longer be any direct
printfs to FILE*s etc.

So you can do whatever you like.

> I'm not sure we need to care about that anymore, it seems to have been
> fixed in glibc 2.4 (For comparison Debian Lenny has 2.7) so I think we
> could consider switching back to just plain strerror_r at this point
> which would completely remove pthreads from libxc.


> I think we could switch xen-unstable over now and then whenever XCP
> updates to a new enough Xen and moves over to using this version of the
> bindings deal with any problems there (to be honest I expect that issues
> arising from this particular change will be a small fraction of the work
> required to make that transition).



Xen-devel mailing list