[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 12/13] qapi: support for keyworded variable-leng
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [PATCH 12/13] qapi: support for keyworded variable-length argument list |
Date: |
Tue, 10 Apr 2012 18:57:23 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120329 Thunderbird/11.0.1 |
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