Re: [PATCH 1/4] qom: add devault value

2022-09-10 Thread Vladimir Sementsov-Ogievskiy
On 9/8/22 13:36, 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. Signed-of

[PATCH 1/4] qom: add devault value

2022-09-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. Signed-off-by: Maksim Davydov --- qom/qom-qmp-cm