All of lore.kernel.org
 help / color / mirror / Atom feed
From: Anthony PERARD <anthony@xenproject.org>
To: Andrew Cooper <andrew.cooper3@citrix.com>
Cc: xen-devel@lists.xenproject.org,
	"Anthony PERARD" <anthony.perard@vates.tech>,
	"Oleksii Kurochko" <oleksii.kurochko@gmail.com>,
	"Community Manager" <community.manager@xenproject.org>,
	"Michal Orzel" <michal.orzel@amd.com>,
	"Jan Beulich" <jbeulich@suse.com>,
	"Julien Grall" <julien@xen.org>,
	"Roger Pau Monné" <roger.pau@citrix.com>,
	"Stefano Stabellini" <sstabellini@kernel.org>
Subject: Re: [XEN PATCH 11/11] Update CHANGELOG and README with dependency on json-c
Date: Mon, 11 Aug 2025 16:37:47 +0200	[thread overview]
Message-ID: <aJoAO2NOLtIxBbAf@l14> (raw)
In-Reply-To: <2f073fa0-5064-4cd2-b332-c3a6ceaf537a@citrix.com>

On Mon, Aug 11, 2025 at 11:55:04AM +0100, Andrew Cooper wrote:
> On 08/08/2025 3:56 pm, Anthony PERARD wrote:
> > From: Anthony PERARD <anthony.perard@vates.tech>
> >
> > Signed-off-by: Anthony PERARD <anthony.perard@vates.tech>
> > ---
> >  CHANGELOG.md | 2 ++
> >  README       | 2 +-
> >  2 files changed, 3 insertions(+), 1 deletion(-)
> >
> > diff --git a/CHANGELOG.md b/CHANGELOG.md
> > index 5f31ca08fe..83195e2dae 100644
> > --- a/CHANGELOG.md
> > +++ b/CHANGELOG.md
> > @@ -11,6 +11,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
> >     - For x86, GCC 5.1 and Binutils 2.25, or Clang/LLVM 11
> >     - For ARM32 and ARM64, GCC 5.1 and Binutils 2.25
> >   - Linux based device model stubdomains are now fully supported.
> > + - New dependency on library json-c, the toolstack will prefer it to `YAJL`
> > +   when available.
> >  
> >   - On x86:
> >     - Restrict the cache flushing done as a result of guest physical memory map
> > diff --git a/README b/README
> > index 6ee58f7b35..9329f30e13 100644
> > --- a/README
> > +++ b/README
> > @@ -53,7 +53,7 @@ provided by your OS distributor:
> >      * Development install of Python 2.7 or later (e.g., python-dev)
> >      * Development install of curses (e.g., libncurses-dev)
> >      * Development install of uuid (e.g. uuid-dev)
> > -    * Development install of yajl (e.g. libyajl-dev)
> > +    * Development install of json-c (e.g. libjson-c-dev) or yajl (e.g. libyajl-dev)
> >      * Development install of libaio (e.g. libaio-dev) version 0.3.107 or
> >        greater.
> >      * Development install of GLib v2.0 (e.g. libglib2.0-dev)
> 
> What are we going to do about testing this?
> 
> We should add libjson-c to some build containers.  We need to annotate #
> Xen < 4.21 in the existing containers so we can drop it in due course.

archlinux container already have `json-c` so the CI already do some
build jobs with it. (no *-dev needed for this one container). It even
notice an issue with `debug=n` builds, I had to replace `strncpy` by
`memcpy`.

> Also, for a container we don't intend to backport to stable trees, we
> should have libjson-c only and no yajl.  Probably best to do this in the
> Alpine update which is long overdue.

Doing this on alpine container would allow to actually do some runtime
tests with json-c instead of yajl, so yes.

-- 
Anthony PERARD


  reply	other threads:[~2025-08-11 14:38 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-08-08 14:55 [XEN PATCH 00/11] Allow to build libxl and other tools with json-c instead of yajl Anthony PERARD
2025-08-08 14:55 ` [XEN PATCH 01/11] xl: move printf_info prototype to an header Anthony PERARD
2025-08-27 14:55   ` Jason Andryuk
2025-08-08 14:55 ` [XEN PATCH 02/11] libxl: Remove duplicate libxl_domain_config_gen_json prototype Anthony PERARD
2025-08-27 14:55   ` Jason Andryuk
2025-08-08 14:55 ` [XEN PATCH 03/11] libxl: remove duplicated libxl__yajl_gen_asciiz() prototype Anthony PERARD
2025-08-27 14:56   ` Jason Andryuk
2025-08-08 14:55 ` [XEN PATCH 04/11] tools/configure: Introduce deps on json-c lib for libxl Anthony PERARD
2025-08-11 10:48   ` Andrew Cooper
2025-08-13 15:42     ` Anthony PERARD
2025-08-27 15:01   ` Jason Andryuk
2025-08-29 13:17     ` Anthony PERARD
2025-08-31 14:42       ` Jason Andryuk
2025-08-08 14:55 ` [XEN PATCH 05/11] libxl: Convert libxl__json_parse() to use json-c Anthony PERARD
2025-08-27 15:20   ` Jason Andryuk
2025-08-08 14:55 ` [XEN PATCH 06/11] libxl: convert libxl__json_object_to_yajl_gen to libxl__json_object_to_libjsonc_object Anthony PERARD
2025-08-27 15:37   ` Jason Andryuk
2025-08-29 13:56     ` Anthony PERARD
2025-08-31 14:51       ` Jason Andryuk
2025-09-29  9:52         ` Anthony PERARD
2025-08-08 14:55 ` [XEN PATCH 07/11] libxl: libxl__object_to_json() to json-c Anthony PERARD
2025-08-27 17:51   ` Jason Andryuk
2025-08-27 17:59     ` Andrew Cooper
2025-08-29 15:32       ` Anthony PERARD
2025-08-08 14:55 ` [XEN PATCH 08/11] libxl: convert libxl__json_object_to_json() to json_object Anthony PERARD
2025-08-27 17:54   ` Jason Andryuk
2025-08-08 14:56 ` [XEN PATCH 09/11] tools/libxenstat: Use json-c when available Anthony PERARD
2025-08-27 18:00   ` Jason Andryuk
2025-08-08 14:56 ` [XEN PATCH 10/11] configure: Use json-c by default, fallback to yajl Anthony PERARD
2025-08-08 14:56 ` [XEN PATCH 11/11] Update CHANGELOG and README with dependency on json-c Anthony PERARD
2025-08-11  8:27   ` Oleksii Kurochko
2025-08-11 10:55   ` Andrew Cooper
2025-08-11 14:37     ` Anthony PERARD [this message]
2025-08-08 15:14 ` [XEN PATCH 00/11] Allow to build libxl and other tools with json-c instead of yajl Andrew Cooper

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=aJoAO2NOLtIxBbAf@l14 \
    --to=anthony@xenproject.org \
    --cc=andrew.cooper3@citrix.com \
    --cc=anthony.perard@vates.tech \
    --cc=community.manager@xenproject.org \
    --cc=jbeulich@suse.com \
    --cc=julien@xen.org \
    --cc=michal.orzel@amd.com \
    --cc=oleksii.kurochko@gmail.com \
    --cc=roger.pau@citrix.com \
    --cc=sstabellini@kernel.org \
    --cc=xen-devel@lists.xenproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.