]> xenbits.xensource.com Git - people/julieng/xen-unstable.git/commit
tools: Refactor "xentoollog" into its own library
authorIan Campbell <ian.campbell@citrix.com>
Thu, 3 Dec 2015 11:22:02 +0000 (11:22 +0000)
committerIan Campbell <ian.campbell@citrix.com>
Wed, 9 Dec 2015 12:37:00 +0000 (12:37 +0000)
commitc7d3afbb44b47af9103be0b914afd588a84d9e62
tree8dfdf2a16b908cf28dc464521fb1cd98fcd84c3f
parent78fb69ad932e012cd27ce9b5b7f8733d08b8061f
tools: Refactor "xentoollog" into its own library

In attempting to disaggregate libxenctrl I found that many of the
pieces were going to want access to this library, so split it out (as
it probably should always have been).

Various build adjustments are needed. In particular things which use
xtl_* themselves now need to explicity link against the library.

This has a nice side effect which is that users of libxl no longer
need to link against libxenctrl just to create a logger, which was
counter to the principal that applications using libxl shouldn't be
required to look behind the curtain. This means that xl no longer
links against libxenctrl.

The new library uses a version script to ensure that only expected
symbols are exported and to version them such that ABI guarantees can
be kept in the future.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
[ ijc -- Update QEMU_TRADITIONAL_REVISION and MINIOS_UPSTREAM_REVISION ]
21 files changed:
.gitignore
Config.mk
stubdom/Makefile
stubdom/grub/Makefile
tools/Makefile
tools/Rules.mk
tools/libs/Makefile [new file with mode: 0644]
tools/libs/toollog/Makefile [new file with mode: 0644]
tools/libs/toollog/include/xentoollog.h [new file with mode: 0644]
tools/libs/toollog/libxentoollog.map [new file with mode: 0644]
tools/libs/toollog/xtl_core.c [new file with mode: 0644]
tools/libs/toollog/xtl_logger_stdio.c [new file with mode: 0644]
tools/libxc/Makefile
tools/libxc/include/xentoollog.h [deleted file]
tools/libxc/xtl_core.c [deleted file]
tools/libxc/xtl_logger_stdio.c [deleted file]
tools/libxl/Makefile
tools/ocaml/libs/xentoollog/Makefile
tools/ocaml/libs/xentoollog/genlevels.py
tools/python/setup.py
tools/xenpaging/Makefile