Skip to content
Commit f4eb32b5 authored by Stefan Hajnoczi's avatar Stefan Hajnoczi
Browse files

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: default avatarStefan Hajnoczi <stefanha@redhat.com>
parent dd67c1d7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment