qemu-block
[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: Laurent Vivier
Subject: Re: [PATCH 1/3] qdict: make available dump_qobject(), dump_qdict(), dump_qlist()
Date: Wed, 10 Nov 2021 18:11:43 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.2.0

On 10/11/2021 17:17, Markus Armbruster wrote:
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.


Yes, you're right. I didn't think about this solution.

So we can drop this patch.

Thanks,
Laurent




reply via email to

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