Re: [PATCH for-9.0] qapi: Add 'recurse-children' option to qom-list

2024-01-11 Thread Alberto Garcia
On Fri 22 Dec 2023 11:31:12 AM +01, Markus Armbruster wrote: >> This allows returning a tree of all object properties under a given >> path, in a way similar to scripts/qmp/qom-tree. > > Use case? We already have that script, and also HMP info qom-tree. The main use case is convenience. Manageme

Re: [PATCH for-9.0] qapi: Add 'recurse-children' option to qom-list

2023-12-22 Thread Markus Armbruster
Alberto Garcia writes: > This allows returning a tree of all object properties under a given > path, in a way similar to scripts/qmp/qom-tree. Use case? We already have that script, and also HMP info qom-tree. > Signed-off-by: Alberto Garcia > --- > qapi/qom.json | 10 +- > qom/

[PATCH for-9.0] qapi: Add 'recurse-children' option to qom-list

2023-11-24 Thread Alberto Garcia
This allows returning a tree of all object properties under a given path, in a way similar to scripts/qmp/qom-tree. Signed-off-by: Alberto Garcia --- qapi/qom.json | 10 +- qom/qom-hmp-cmds.c | 4 ++-- qom/qom-qmp-cmds.c | 22 +- 3 files changed, 32 insertions(+