From: Ján Tomko Date: Mon, 13 Aug 2018 11:38:38 +0000 (+0200) Subject: Revert "remote: daemon: Make sure that JSON symbols are properly loaded at startup" X-Git-Tag: v4.7.0-rc1~213 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9ed59012d3ccdf8365f5e8119959017849bc89fd;p=thirdparty%2Flibvirt.git Revert "remote: daemon: Make sure that JSON symbols are properly loaded at startup" This reverts commit 3251fc9c9b9639c3fec3181530599415523d671a. Jansson cannot parse QEMU's quirky JSON. Revert back to yajl. https://bugzilla.redhat.com/show_bug.cgi?id=1614569 Signed-off-by: Ján Tomko Reviewed-by: Daniel P. Berrangé --- diff --git a/src/libvirt_private.syms b/src/libvirt_private.syms index ee0dca6129..496de11168 100644 --- a/src/libvirt_private.syms +++ b/src/libvirt_private.syms @@ -2133,10 +2133,6 @@ virJSONValueObjectStealObject; virJSONValueToString; -# util/virjsoncompat.h -virJSONInitialize; - - # util/virkeycode.h virKeycodeSetTypeFromString; virKeycodeSetTypeToString; diff --git a/src/remote/remote_daemon.c b/src/remote/remote_daemon.c index 8bbc3818bb..9f3a5f38ad 100644 --- a/src/remote/remote_daemon.c +++ b/src/remote/remote_daemon.c @@ -59,7 +59,6 @@ #include "virutil.h" #include "virgettext.h" #include "util/virnetdevopenvswitch.h" -#include "virjsoncompat.h" #include "driver.h" @@ -1184,9 +1183,6 @@ int main(int argc, char **argv) { exit(EXIT_FAILURE); } - if (virJSONInitialize() < 0) - exit(EXIT_FAILURE); - daemonSetupNetDevOpenvswitch(config); if (daemonSetupAccessManager(config) < 0) {