From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Jackson Subject: [PATCH 00/14] Logging cleanups, libxc API change Date: Thu, 27 May 2010 16:55:07 +0100 Message-ID: <1274975721-3777-1-git-send-email-ian.jackson@eu.citrix.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com Cc: Ian Jackson List-Id: xen-devel@lists.xenproject.org In this patch series I do some serious cleanup. In particular: * Remove all static global variables from libxc so that the library is fully reentrant. * Allow all callers of libxs, libxc, libxl to control where log messages to go. * Assorted other minor fixups. This involves an incompatible change to the interface to libxc. Instead of simply getting an int representing a file descriptor, callers now get an xc_interface*. Also, there are three new parameters to xc_interface_open for which naive callers may pass 0. The overall result is that (amongst other things) the stderr output from "xl" is much more sensible. Signed-off-by: Ian Jackson