]> git.proxmox.com Git - mirror_qemu.git/commit
qdev-monitor: include QOM properties in -device FOO, help output
authorStefan Hajnoczi <stefanha@redhat.com>
Wed, 9 Jul 2014 12:01:32 +0000 (14:01 +0200)
committerKevin Wolf <kwolf@redhat.com>
Fri, 15 Aug 2014 13:07:13 +0000 (15:07 +0200)
commitef523587da4f213ca17133a90402d0815ecf08ee
tree95fa72c3b0abe4239502bd5456465bb83c40abc7
parent4115dd6527fbdf49dbd1eba24ad68e0fae1e305a
qdev-monitor: include QOM properties in -device FOO, help output

Update -device FOO,help to include QOM properties in addition to qdev
properties.  Devices are gradually adding more QOM properties that are
not reflected as qdev properties.

It is important to report all device properties since management tools
like libvirt use this information (and device-list-properties QMP) to
detect the presence of QEMU features.

This patch reuses the device-list-properties QMP machinery to avoid code
duplication.

Reported-by: Cole Robinson <crobinso@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Tested-by: Cole Robinson <crobinso@redhat.com>
qdev-monitor.c