Il 10/04/2012 18:46, Luiz Capitulino ha scritto:
>>>>> I think that for device_add foo,? we could introduce 
>>>>> qom-list-type-properties.
>>>>> Seems simple if limited to devices, not sure how to make it generic 
>>>>> though.
>>>>
>>>> With those patches you can make it generic.
>>>
>>> Cool, what about device_add ?, any recommendations?
>>
>> That's easier, you can just list non-abstract types with TYPE_DEVICE
>> superclass (note that's a macro).
> 
> By using qom-list-types? The problem is how to export fields like 'no_user'
> in QMP.
You're right...  Anthony, wdyt?

Paolo

Reply via email to