qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v2] Show values and description when using "qom-


From: Andreas Färber
Subject: Re: [Qemu-devel] [PATCH v2] Show values and description when using "qom-list"
Date: Sat, 2 Jun 2018 09:20:55 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0

Am 01.06.2018 um 17:39 schrieb Ricardo Perez Blanco:
> For debugging purposes it is very useful to:
>  - See the description of the field. This information is already filled
>    in but not shown in "qom-list" command.

No objection on this part.

>  - Display value of the field.

That is by definition the qom-get operation, not qom-list. Just like the
ls command does not show file contents, there's cat etc. for that. For
debugging purposes we had a qom-tree (?) command that would combine
both. There might be unmerged patches on qemu-devel related to display
of certain data types.

Regards,
Andreas

> 
> Signed-off-by: Ricardo Perez Blanco <address@hidden>
> ---
>  hmp.c          | 13 +++++++++++--
>  qapi/misc.json |  6 ++++--
>  qmp.c          |  7 +++++++
>  qom/object.c   |  8 +++-----
>  4 files changed, 25 insertions(+), 9 deletions(-)
[snip]

-- 
SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Felix Imendörffer, Jane Smithard, Graham Norton
HRB 21284 (AG Nürnberg)



reply via email to

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