]> Git Repo - qemu.git/commit - qdev-monitor.c
qdev-monitor: include QOM properties in -device FOO, help output
authorStefan Hajnoczi <[email protected]>
Wed, 9 Jul 2014 12:01:32 +0000 (14:01 +0200)
committerKevin Wolf <[email protected]>
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 <[email protected]>
Signed-off-by: Stefan Hajnoczi <[email protected]>
Reviewed-by: Eric Blake <[email protected]>
Tested-by: Cole Robinson <[email protected]>
qdev-monitor.c
This page took 0.023606 seconds and 4 git commands to generate.