Logging cleanups, libxc API change
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest14 patches 4 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/14 | xl: Combine headers into one header file.tools/ tools/ tools/ +3 more | +80 | 0 replies | |
| 2/14 | xl: Move "extern" declarations to xl.htools/ tools/ | +3 | 0 replies | |
| 3/14 | stubdom/newlib: Provide correct names for time.h timezone variablesstubdom/ | +2 | 0 replies | |
| 4/14 | libxc: xc_domain_save.c: rename "write_exact" macrotools/ | +16 | 0 replies | |
| 5/14 | libelf: Tidy up logging and remove dependency on stdio.tools/ tools/ tools/ +4 more | +61 | 0 replies | |
| 6/14 | xtl: New xentoollog mini-library.tools/ tools/ tools/ +1 more | +308 | 0 replies | |
| 7/14 | libxc: eliminate static variables, use xentoollog; API changeConfig.mk extras/ stubdom/ +109 more | +2383 | 0 replies | |
| 8/14 | libxc: Use new DBGPRINTF for a few debugging output messagestools/ tools/ tools/ | +3 | 0 replies | |
| 9/14 | libxl: Fix up some incorrect printf formatstools/ tools/ tools/ | +5 | 0 replies | |
| 10/14 | libxl: Use the caller's logger (xentoollog)tools/ tools/ tools/ +7 more | +57 | 0 replies | |
| 11/14 | xl: Allow control of logging level.tools/ tools/ tools/ | +33 | 2 replies | |
| 12/14 | libxc: save/restore error handling fixestools/ tools/ tools/ +1 more | +125 | 0 replies | |
| 13/14 | libxc: remove \n from strings passed to PERRORtools/ tools/ tools/ +6 more | +34 | 0 replies | |
| 14/14 | xl/libxtl: Remove glitch in xl migrate log outputtools/ tools/ tools/ | +31 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/14] Logging cleanups, libxc API change
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.)