On a Thursday in 2025, Peter Krempa via Devel wrote:
From: Peter Krempa <[email protected]>

The default in json-c is 32 which is too low to accomodate the 200
snapshot layers we supported historically in the qemu driver (200 is
picked based on the 256 layer limit in libxml).

The response to 'query-block' is otherwise too low and we fail to start
the VM when there's around 26 images in a backing chain.


Do you, by any chance, have a response this long that could be added to
our test suite?

'json_tokener_new_ex' is supported since json-c 0.11 and we require at
least 0.14.

Signed-off-by: Peter Krempa <[email protected]>
---

I've also figured out that we don't actually care about the backing
image information so I've proposed a 'flat' mode for 'query-block' in
qemu similarly to what we do for 'query-named-block-nodes':

https://mail.gnu.org/archive/html/qemu-block/2025-12/msg00104.html

src/util/virjson.c | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)


Reviewed-by: Ján Tomko <[email protected]>

Jano

Attachment: signature.asc
Description: PGP signature

Reply via email to