[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] Re: [PATCH] ocaml: xc bindings: use libxenctrl and libxenguest



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.

Yes.

> 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).

Yes.

Ian.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.