Per the discussion here:
https://www.redhat.com/archives/libvir-list/2017-November/msg00225.html
Switch from using yajl to Jansson.
v1:
https://www.redhat.com/archives/libvir-list/2018-March/msg01781.html
Patches 5-11 are meant to be squashed together before pushing, but are
posted separately here in hope it will make reviewing them easier.
Ján Tomko (12):
virJSONValue: remove unused 'protect' property
tests: replace references to yajl
build: add --with-jansson
build: undef WITH_JANSSON for SETUID_RPC_CLIENT
Switch from yajl to Jansson
FIXUP: Adjust test data for Jansson
FIXUP: Remove functions using yajl
FIXUP: make nss depend on Jansson instead of yajl
FIXUP: compile and link with Jansson instead of yajl
FIXUP: s/WITH_YAJL/WITH_JANSSON/
FIXUP: libvirt.spec: use jansson instead of yajl
build: require Jansson if QEMU driver is enabled
config-post.h | 1 +
configure.ac | 3 +
libvirt.spec.in | 4 +-
m4/virt-driver-qemu.m4 | 8 +-
m4/virt-jansson.m4 | 29 +
m4/virt-nss.m4 | 4 +-
m4/virt-yajl.m4 | 27 +-
src/Makefile.am | 8 +-
src/qemu/qemu_driver.c | 2 +-
src/util/Makefile.inc.am | 4 +-
src/util/virjson.c | 614 ++++++---------------
tests/Makefile.am | 12 +-
tests/cputest.c | 16 +-
tests/libxlxml2domconfigtest.c | 4 +-
tests/qemuagenttest.c | 4 +-
.../xml2json/file-backing_basic-aio_threads.json | 9 +-
.../file-backing_basic-cache-directsync.json | 9 +-
.../xml2json/file-backing_basic-cache-none.json | 9 +-
.../xml2json/file-backing_basic-cache-unsafe.json | 9 +-
.../file-backing_basic-cache-writeback.json | 9 +-
.../file-backing_basic-cache-writethrough.json | 9 +-
.../xml2json/file-backing_basic-detect.json | 9 +-
.../xml2json/file-backing_basic-noopts.json | 9 +-
.../xml2json/file-backing_basic-unmap-detect.json | 9 +-
.../xml2json/file-backing_basic-unmap-ignore.json | 9 +-
.../xml2json/file-backing_basic-unmap.json | 9 +-
.../file-qcow2-backing-chain-encryption.json | 3 +-
.../xml2json/file-qcow2-backing-chain-noopts.json | 27 +-
.../file-qcow2-backing-chain-unterminated.json | 3 +-
.../network-qcow2-backing-chain-cache-unsafe.json | 3 +-
...etwork-qcow2-backing-chain-encryption_auth.json | 3 +-
tests/qemucapabilitiestest.c | 4 +-
tests/qemucaps2xmltest.c | 4 +-
tests/qemucommandutiltest.c | 4 +-
tests/qemuhotplugtest.c | 4 +-
tests/qemumigparamsdata/empty.json | 4 +-
tests/qemumigparamsdata/unsupported.json | 4 +-
tests/qemumigparamstest.c | 4 +-
tests/qemumonitorjsontest.c | 4 +-
tests/virmacmaptestdata/empty.json | 4 +-
tests/virmocklibxl.c | 4 +-
tests/virnetdaemontest.c | 2 +-
tests/virstoragetest.c | 4 +-
43 files changed, 292 insertions(+), 632 deletions(-)
create mode 100644 m4/virt-jansson.m4
--
2.16.1