This adds a new QMP command to list any class/object properties, not just devices.
I do not know how/if we need to address the concern about abstract/nonabstract classes though. Changes: v4: * cleanup in 1/2 Please comment. Thanks. Alexey Kardashevskiy (2): qmp: Merge ObjectPropertyInfo and DevicePropertyInfo qmp: Add qom-list-properties to list QOM object properties qapi-schema.json | 38 ++++++++++++++++--------------- include/qom/object.h | 16 +++++++++++++ qdev-monitor.c | 6 ++--- qmp.c | 63 ++++++++++++++++++++++++++++++++++++++++++++++------ qom/object.c | 7 ++++++ 5 files changed, 102 insertions(+), 28 deletions(-) -- 2.11.0