summary refs log tree commit diff stats
path: root/tests/test-string-output-visitor.c
diff options
context:
space:
mode:
authorStefan Hajnoczi <stefanha@redhat.com>2014-05-20 14:29:01 +0200
committerStefan Hajnoczi <stefanha@redhat.com>2014-07-07 11:10:05 +0200
commitf4eb32b590bf58c1c67570775eb78beb09964fad (patch)
treeee7bc6587f75b4804722704fd0215743bf711d0f /tests/test-string-output-visitor.c
parentdd67c1d7e75151e2c058ccdd2162643074357442 (diff)
downloadfocaccia-qemu-f4eb32b590bf58c1c67570775eb78beb09964fad.tar.gz
focaccia-qemu-f4eb32b590bf58c1c67570775eb78beb09964fad.zip
qmp: show QOM properties in device-list-properties
Devices can use a mix of qdev and QOM properties.  Currently only the
qdev properties are displayed by device-list-properties.

This patch extends the property enumeration algorithm to also display
QOM properties (excluding the implicit "type", "realized",
"hotpluggable", and "parent_bus" properties).

When a qdev property exists, use the qdev type name to preserve
backwards compatibility.  QOM type names can be different for bool (qdev
on/off) and str (used by qdev pointers).

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'tests/test-string-output-visitor.c')
0 files changed, 0 insertions, 0 deletions