[Xen-devel] [PATCH 2/2] tools/xenstat: fix missing linkage of libxenstat against libyajl

2017-06-12 Thread Peter Große
This fixes the python bindings, since symbols were missing in libxenstat. xentop doesn't use any yajl functions, so drop linking libyajl. Signed-off-by: Peter Große --- tools/xenstat/libxenstat/Makefile | 2 +- tools/xenstat/xentop/Makefile | 2 +- 2 files changed, 2 insertions(

[Xen-devel] [PATCH 1/2] libxenstat: use python detected by configure for python bindings

2017-06-12 Thread Peter Große
Signed-off-by: Peter Große --- tools/xenstat/libxenstat/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/xenstat/libxenstat/Makefile b/tools/xenstat/libxenstat/Makefile index 85cec63ebf..08b0f35172 100644 --- a/tools/xenstat/libxenstat/Makefile +++ b/tools

[Xen-devel] [PATCH 0/2] Fix python bindings for libxenstat

2017-06-12 Thread Peter Große
s provided by the lib directly. OTOH libxenstat uses libyajl in xenstat_qmp.c, but isn't linked against it. So my idea to fix the error above was to move the -lyajl from the xentop build to the libxenstat build, as seen in the 2nd patch. With that patch, the bindings work without pro