On 01/03/2018 12:47, Alexey Kardashevskiy wrote:
>>> +{ 'struct': 'QOMPropertyInfo',
>>> +  'data': { 'name': 'str', 'type': 'str', '*description': 'str' } }
>> So, this has identical contents to DevicePropertyInfo, and is very
>> similar to ObjectPropertyInfo.  Is there any way we could consolidate
>> those types?
> Sure, I can get rid of DevicePropertyInfo in favour of QOMPropertyInfo, I
> am just not sure if this typename is visible anywhere in the QMP protocol.
> I'll post v3 in minutes.

You can just extend ObjectPropertyInfo with the optional description.
It's the one with the best documentation.

The type names are (intentionally) hidden from the schema and are only
visible in the documentation.

Paolo


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to