summary refs log tree commit diff stats
path: root/hw/core
diff options
context:
space:
mode:
authorMaksim Davydov <davydov-max@yandex-team.ru>2024-03-19 00:35:47 +0300
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2024-04-25 10:12:35 +0200
commit443df40cad0f5de602ac6f6ca1559e0923e180b3 (patch)
treea17fb63d7c1ead926c10e15e72f67b4e0f810712 /hw/core
parent85b597413d4370cb168f711192eaef2eb70535ac (diff)
downloadfocaccia-qemu-443df40cad0f5de602ac6f6ca1559e0923e180b3.tar.gz
focaccia-qemu-443df40cad0f5de602ac6f6ca1559e0923e180b3.zip
qom: add default value
qmp_qom_list_properties can print default values if they are available
as qmp_device_list_properties does, because both of them use the
ObjectPropertyInfo structure with default_value field. This can be useful
when working with "not device" types (e.g. memory-backend).

Signed-off-by: Maksim Davydov <davydov-max@yandex-team.ru>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Message-ID: <20240318213550.155573-2-davydov-max@yandex-team.ru>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Diffstat (limited to 'hw/core')
0 files changed, 0 insertions, 0 deletions