search for: yajl

Displaying 20 results from an estimated 200 matches for "yajl".

2014 Jul 01
10
Libvirt installion error: You must install the libyajl library & headers to compile libvirt
Dear all, I am installing the libvirt 1.2.5 on my newly installed Fedora19. When I run ./configure, an error is reported: "You must install the libyajl library & headers to compile libvirt" In fact, the package yajl-2.0.4-2fc19.x86_64.rpm has been installed on the fedora19. I found several links talking about this error and I downloaded 3 files (configure.ac, m4/virt-yajl.m4, src/qemu/qemu_capabilities.c) from the link given by Daniel Ber...
2017 Jan 03
0
[PATCH 1/5] builder: extract Yajl helper functions to yajl.ml
Extract the yajl object_get_* helpers in the Yajl module since this could be useful for any Yajl user code. --- builder/simplestreams_parser.ml | 52 -------------------------------------- builder/yajl.ml | 55 +++++++++++++++++++++++++++++++++++++++++ builder/yajl.mli | 29 +++++++++...
2011 Sep 30
13
[PATCH] tools/check: check for yajl (needed by libxl)
# HG changeset patch # User Ian Campbell <ian.campbell@citrix.com> # Date 1317367995 -3600 # Node ID 4b98868690218126b90620d9b43fdd4140145a43 # Parent e50da6b98e3d5933b9c98e8f43096fd3ebbae00d tools/check: check for yajl (needed by libxl) Signed-off-by: Ian Campbell <ian.campbell@citrix.com> --- (note to committer, ensure the new file is executable) diff -r e50da6b98e3d -r 4b9886869021 tools/check/check_yajl_lib --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tools/check/check_yajl_lib Fri Sep 30 08:33:1...
2016 Jan 09
0
[PATCH] build: Require qemu >= 1.3.0 and yajl.
Require qemu >= 1.3.0, the first version that supported `qemu-img --output=json'. This means we require yajl (for parsing the JSON output of qemu-img), and that in turn has consequences elsewhere. --- README | 10 +- builder/Makefile.am | 2 - builder/sources.ml | 9 +- builder/yajl-c.c | 30 ----- builder/yajl.ml | 2 - builder/yajl.mli | 4 - bu...
2018 Aug 17
0
[PATCH v3 1/4] mltools: Rename Yajl module as JSON_parser and move to common/mltools.
Commit bd1c5c9f4dcf38458099db8a0bf4659a07ef055d changed all the code to use Jansson instead of yajl. However it didn't change the OCaml API name (which was still Yajl). This commit changes the module to a neutral name ("JSON_parser") and moves it into common/mltools so it can be used by other tools. This leaves us in a slightly awkward situation of having two JSON-ish OCaml modul...
2017 Nov 23
1
Re: [PATCH 1/1] Switch from YAJL to Jansson
On Thu, Nov 23, 2017 at 02:23:52PM +0100, Pino Toscano wrote: >While YAJL mostly works fine, it did not see any active development in >the latest 3 years. OTOH, Jansson is another JSON C implementation, >with a very liberal license, and a much nicer API. > >Hence, switch all of libguestfs from YAJL to Jansson: >- configure checks, and buildsystem in gener...
2012 Jan 15
2
[PATCH v3] libxl: add support for yajl 2.x
# HG changeset patch # User Roger Pau Monne <roger.pau@entel.upc.edu> # Date 1326606960 -3600 # Node ID a1986ef30b7dab4f60fe5cda70856f5751a9fde2 # Parent cd47dde439e688cac244c7eb9f55d826c85c844f libxl: add support for yajl 2.x This patch adds support for yajl versions 2.x, while retaining 1.x compatibility. All the needed ifdefs can be found in libxl_json.h. Tested with yajl 2.0.3 and 1.0.12. Changes since v2: * Moved all ifdefs to libxl_json.h, as Ian Jackson suggested. Changes since v1: * Check if yajl_vers...
2018 Aug 17
4
Re: [PATCH v3 1/4] mltools: Rename Yajl module as JSON_parser and move to common/mltools.
On 08/17/2018 10:16 AM, Richard W.M. Jones wrote: > Commit bd1c5c9f4dcf38458099db8a0bf4659a07ef055d changed all the code > to use Jansson instead of yajl. However it didn't change the OCaml > API name (which was still Yajl). > Are you aware that Jansson can't parse all JSON generated by qemu, and that the developers of Jansson did not seem sympathetic to patches that would make it possible? Libvirt recently reverted their use of...
2012 Aug 15
3
Howto/Tutorial: Compiling Xen 4.2 from source on RHEL5/CentOS5, RHEL6/CentOS6, Fedora 16, Fedora 17
...inux distributions. The guide is available here: http://wiki.xen.org/wiki/Xen_4.2_Build_From_Source_On_RHEL_CentOS_Fedora I was able to successfully build Xen 4.2.0-rc2 on the following Linux distros: - CentOS 5.8 x64 - CentOS 6.3 x64 - Fedora 17 x64 RHEL5/CentOS5 requires some hackery to get yajl/yajl-devel rebuilt there, so the tutorial url above contains easy instructions and the required patch to make yajl build OK on EL5. -- Pasi
2012 Aug 15
3
Howto/Tutorial: Compiling Xen 4.2 from source on RHEL5/CentOS5, RHEL6/CentOS6, Fedora 16, Fedora 17
...inux distributions. The guide is available here: http://wiki.xen.org/wiki/Xen_4.2_Build_From_Source_On_RHEL_CentOS_Fedora I was able to successfully build Xen 4.2.0-rc2 on the following Linux distros: - CentOS 5.8 x64 - CentOS 6.3 x64 - Fedora 17 x64 RHEL5/CentOS5 requires some hackery to get yajl/yajl-devel rebuilt there, so the tutorial url above contains easy instructions and the required patch to make yajl build OK on EL5. -- Pasi
2018 Aug 20
1
Re: [PATCH v3 1/4] mltools: Rename Yajl module as JSON_parser and move to common/mltools.
On Friday, 17 August 2018 17:16:10 CEST Richard W.M. Jones wrote: > Commit bd1c5c9f4dcf38458099db8a0bf4659a07ef055d changed all the code > to use Jansson instead of yajl. However it didn't change the OCaml > API name (which was still Yajl). This was done initially to avoid much larger patch/series for the yajl -> jansson conversion. And then... I forgot :-) > -type yajl_val = > -| Yajl_null > -| Yajl_string of string > -| Yajl_number of in...
2017 Nov 23
1
Re: [PATCH 1/1] Switch from YAJL to Jansson
On 11/23/2017 07:23 AM, Pino Toscano wrote: > While YAJL mostly works fine, it did not see any active development in > the latest 3 years. OTOH, Jansson is another JSON C implementation, > with a very liberal license, and a much nicer API. > > Hence, switch all of libguestfs from YAJL to Jansson: > - configure checks, and buildsystem in...
2012 Jun 12
2
What's the most recent compatible libvirt and qemu-kvm?
...libvirt version: 0.9.12 2012-06-12 19:53:41.894+0000: 6076: warning : ebiptablesDriverInit:4084 : Could not find 'ebtables' executable 2012-06-12 19:53:42.675+0000: 6076: error : qemuCapsComputeCmdFlags:1209 : unsupported configuration: this qemu binary requires libvirt to be compiled with yajl 2012-06-12 19:53:42.677+0000: 6076: error : virDomainDefParseXML:8312 : internal error No guest options available for arch 'x86_64' Is it just the "yajl" thing missing, or is this combo just not to be expected to work? Also, should http://libvirt.org/compiling.html mention &quot...
2015 Aug 12
0
[PATCH 2/2] builder: support Simple Streams v1.0 as index metadata
Add a simple YAJL<->OCaml bridge to expose the JSON parsing function, and use it to parse the JSON indexes of the Simple Streams v1.0 format. Read only datatype=image-downloads contents, and only the latest versions of each content available as disk image (disk.img or disk1.img). --- builder/Makefile.am...
2011 Dec 20
26
[PATCH v2] libxl: add support for yajl 2.x
# HG changeset patch # User Roger Pau Monne <roger.pau@entel.upc.edu> # Date 1324385575 -3600 # Node ID 716d6d48e647d1d4352f7206e74e693152a4f8fa # Parent f72b99fccfca694674259cc1c03c526a827b67ec libxl: add support for yajl 2.x This patch adds support for yajl versions 2.x, while retaining 1.x compatibility. This patch adds quite a lot of #ifdefs all over the json code, so I''m open to suggestions if there''s a better way to handle this. Tested with yajl 2.0.3 and 1.0.12. Changes since v1: * Check...
2017 Nov 23
4
[PATCH 0/1] RFC: switch from YAJL to Jansson
Hi, recently, there was a discussion in the development list of libvirt on switching to a different JSON library than YAJL [1]. Since we use YAJL, and the points there IMHO apply to libguestfs as well, I decided to give a try in switching to Jansson [2]. The result IMHO is nice, with the additional APIs of Jansson that simplify some of our code. Unlike with YAJL, I did not set a minimum required version, as I did no...
2015 Aug 12
4
[PATCH 0/2 v2] RFC: builder: support for Simple Streams metadata
...der/simplestreams_parser.ml | 213 +++++++++++++++++++++++++++++++++++++++ builder/simplestreams_parser.mli | 19 ++++ builder/sources.ml | 9 ++ builder/sources.mli | 1 + builder/utils.ml | 7 ++ builder/virt-builder.pod | 7 ++ builder/yajl-c.c | 143 ++++++++++++++++++++++++++ builder/yajl.ml | 30 ++++++ builder/yajl.mli | 33 ++++++ po/POTFILES | 1 + po/POTFILES-ml | 2 + 19 files changed, 495 insertions(+), 14 deletions(-) create mode 1...
2018 Feb 12
2
[PATCH v2 0/1] RFC: switch from YAJL to Jansson
Hi, recently, there was a discussion in the development list of libvirt on switching to a different JSON library than YAJL [1]. Since we use YAJL, and the points there IMHO apply to libguestfs as well, I decided to give a try in switching to Jansson [2]. The result IMHO is nice, with the additional APIs of Jansson that simplify some of our code. Unlike with YAJL, I did not set a minimum required version, as I did no...
2018 Aug 17
1
Re: [PATCH v3 1/4] mltools: Rename Yajl module as JSON_parser and move to common/mltools.
On 08/17/2018 10:48 AM, Richard W.M. Jones wrote: > On Fri, Aug 17, 2018 at 10:30:35AM -0500, Eric Blake wrote: >> On 08/17/2018 10:16 AM, Richard W.M. Jones wrote: >>> Commit bd1c5c9f4dcf38458099db8a0bf4659a07ef055d changed all the code >>> to use Jansson instead of yajl. However it didn't change the OCaml >>> API name (which was still Yajl). >>> >> >> Are you aware that Jansson can't parse all JSON generated by qemu, >> and that the developers of Jansson did not seem sympathetic to >> patches that would make it po...
2018 Aug 17
0
Re: [PATCH v3 1/4] mltools: Rename Yajl module as JSON_parser and move to common/mltools.
On Fri, Aug 17, 2018 at 10:30:35AM -0500, Eric Blake wrote: > On 08/17/2018 10:16 AM, Richard W.M. Jones wrote: > >Commit bd1c5c9f4dcf38458099db8a0bf4659a07ef055d changed all the code > >to use Jansson instead of yajl. However it didn't change the OCaml > >API name (which was still Yajl). > > > > Are you aware that Jansson can't parse all JSON generated by qemu, > and that the developers of Jansson did not seem sympathetic to > patches that would make it possible? Libvirt recen...