xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/14] Logging cleanups, libxc API change
@ 2010-05-27 15:55 Ian Jackson
  2010-05-27 15:55 ` [PATCH] xl: Combine headers into one header file Ian Jackson
  2010-05-27 15:58 ` [PATCH 00/14] Logging cleanups, libxc API change Ian Jackson
  0 siblings, 2 replies; 19+ messages in thread
From: Ian Jackson @ 2010-05-27 15:55 UTC (permalink / raw)
  To: xen-devel; +Cc: Ian Jackson

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 <ian.jackson@eu.citrix.com>

^ permalink raw reply	[flat|nested] 19+ messages in thread
* [PATCH 00/14] Logging cleanups, libxc API change
@ 2010-05-27 16:01 Ian Jackson
  2010-05-27 17:20 ` Keir Fraser
  0 siblings, 1 reply; 19+ messages in thread
From: Ian Jackson @ 2010-05-27 16:01 UTC (permalink / raw)
  To: xen-devel; +Cc: Ian Jackson

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.

(This is a resend of the series with the patches numbered in the
Subject line as they should have been.  Sorry for the inconvenience.)

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2010-05-27 17:40 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-27 15:55 [PATCH 00/14] Logging cleanups, libxc API change Ian Jackson
2010-05-27 15:55 ` [PATCH] xl: Combine headers into one header file Ian Jackson
2010-05-27 15:55   ` [PATCH] xl: Move "extern" declarations to xl.h Ian Jackson
2010-05-27 15:55     ` [PATCH] stubdom/newlib: Provide correct names for time.h timezone variables Ian Jackson
2010-05-27 15:55       ` [PATCH] libxc: xc_domain_save.c: rename "write_exact" macro Ian Jackson
2010-05-27 15:55         ` [PATCH] libelf: Tidy up logging and remove dependency on stdio Ian Jackson
2010-05-27 15:55           ` [PATCH] xtl: New xentoollog mini-library Ian Jackson
2010-05-27 15:55             ` [PATCH] libxc: eliminate static variables, use xentoollog; API change Ian Jackson
2010-05-27 15:55               ` [PATCH] libxc: Use new DBGPRINTF for a few debugging output messages Ian Jackson
2010-05-27 15:55                 ` [PATCH] libxl: Fix up some incorrect printf formats Ian Jackson
2010-05-27 15:55                   ` [PATCH] libxl: Use the caller's logger (xentoollog) Ian Jackson
2010-05-27 15:55                     ` [PATCH] xl: Allow control of logging level Ian Jackson
2010-05-27 15:55                       ` [PATCH] libxc: save/restore error handling fixes Ian Jackson
2010-05-27 15:55                         ` [PATCH] libxc: remove \n from strings passed to PERROR Ian Jackson
2010-05-27 15:55                           ` [PATCH] xl/libxtl: Remove glitch in xl migrate log output Ian Jackson
2010-05-27 15:58 ` [PATCH 00/14] Logging cleanups, libxc API change Ian Jackson
  -- strict thread matches above, loose matches on Subject: below --
2010-05-27 16:01 Ian Jackson
2010-05-27 17:20 ` Keir Fraser
2010-05-27 17:40   ` Ian Jackson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).