qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 1/3] qdict: make available dump_qobject(), dump_qdict(), dump


From: Markus Armbruster
Subject: Re: [PATCH 1/3] qdict: make available dump_qobject(), dump_qdict(), dump_qlist()
Date: Wed, 10 Nov 2021 17:17:19 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)

Laurent Vivier <lvivier@redhat.com> writes:

> move them from block/qapi.c to qobject/qdict.c, qobject/qlist.c,
> qobject/qobject.c
>
> This is useful to debug qobjects
>
> Signed-off-by: Laurent Vivier <lvivier@redhat.com>

I think qobject_to_json_pretty() is better suited to debugging, because
it preserves differences like the one between the string "1" and the
number 1.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]