mbox series

[qemu,v4,0/2] qmp: Add qom-list-properties to list QOM object properties

Message ID 20180303002504.25142-1-aik@ozlabs.ru
Headers show
Series qmp: Add qom-list-properties to list QOM object properties | expand

Message

Alexey Kardashevskiy March 3, 2018, 12:25 a.m. UTC
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(-)