|
From: | Philippe Mathieu-Daudé |
Subject: | Re: [PATCH v6 1/4] qom: add default value |
Date: | Wed, 8 Nov 2023 18:58:10 +0100 |
User-agent: | Mozilla Thunderbird |
On 8/11/23 16:38, Maksim Davydov wrote:
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> --- qom/qom-qmp-cmds.c | 1 + 1 file changed, 1 insertion(+)
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
[Prev in Thread] | Current Thread | [Next in Thread] |