]> xenbits.xensource.com Git - libvirt.git/commitdiff
Revert "remote: daemon: Make sure that JSON symbols are properly loaded at startup"
authorJán Tomko <jtomko@redhat.com>
Mon, 13 Aug 2018 11:38:38 +0000 (13:38 +0200)
committerJán Tomko <jtomko@redhat.com>
Mon, 13 Aug 2018 13:50:00 +0000 (15:50 +0200)
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 <jtomko@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
src/libvirt_private.syms
src/remote/remote_daemon.c

index ee0dca6129240d48f3ca6f129ee7120e49bcf680..496de11168afff9574aa17c72a561e15e7c45d95 100644 (file)
@@ -2133,10 +2133,6 @@ virJSONValueObjectStealObject;
 virJSONValueToString;
 
 
-# util/virjsoncompat.h
-virJSONInitialize;
-
-
 # util/virkeycode.h
 virKeycodeSetTypeFromString;
 virKeycodeSetTypeToString;
index 8bbc3818bb5b99659bf4429f894141359e5f5493..9f3a5f38ad8625569bafe568a044fad0d6b947f7 100644 (file)
@@ -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) {