mirror of https://gitee.com/openkylin/libvirt.git
Revert "remote: daemon: Make sure that JSON symbols are properly loaded at startup"
This reverts commit 3251fc9c9b
.
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>
This commit is contained in:
parent
44ef7d9e01
commit
9ed59012d3
|
@ -2133,10 +2133,6 @@ virJSONValueObjectStealObject;
|
|||
virJSONValueToString;
|
||||
|
||||
|
||||
# util/virjsoncompat.h
|
||||
virJSONInitialize;
|
||||
|
||||
|
||||
# util/virkeycode.h
|
||||
virKeycodeSetTypeFromString;
|
||||
virKeycodeSetTypeToString;
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue