Re: [PATCH v6 1/4] qom: add default value

2023-12-01 Thread Markus Armbruster
Maksim Davydov writes: > 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-backen

Re: [PATCH v6 1/4] qom: add default value

2023-11-08 Thread Philippe Mathieu-Daudé
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. memo

[PATCH v6 1/4] qom: add default value

2023-11-08 Thread Maksim Davydov
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 Davydo