[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2][ 05/21] qapi: add qapi-types.py code generat
From: |
Markus Armbruster |
Subject: |
Re: [Qemu-devel] [PATCH v2][ 05/21] qapi: add qapi-types.py code generator |
Date: |
Thu, 09 Jun 2011 09:00:01 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) |
Anthony Liguori <address@hidden> writes:
> On 06/03/2011 05:33 PM, Michael Roth wrote:
>> This is the code generator for qapi types. It will generation the
>> following files:
>>
>> $(prefix)qapi-types.h - C types corresponding to types defined in
>> the schema you pass in
>> $(prefix)qapi-types.c - Cleanup functions for the above C types
>>
>> The $(prefix) is used to as a namespace to keep the generated code from
>> one schema/code-generation separated from others so code and be
>> generated from multiple schemas with clobbering previously created code.
>>
>> Signed-off-by: Michael Roth<address@hidden>
>> ---
>> scripts/qapi-types.py | 221
>> +++++++++++++++++++++++++++++++++++++++++++++++++
>> 1 files changed, 221 insertions(+), 0 deletions(-)
>> create mode 100644 scripts/qapi-types.py
>>
>> diff --git a/scripts/qapi-types.py b/scripts/qapi-types.py
>> new file mode 100644
>> index 0000000..15603f3
>> --- /dev/null
>> +++ b/scripts/qapi-types.py
>
> Other than copyright, I think this is ready to go.
>
> Haven't seen much comments about this series. I think we're at the
> speak now or forever hold your peace moment, so if you've got concerns
> about this approach, please speak up.
There's one concern that trumps all the others I may have: QMP needs to
move. I feel the best I can to for that is to keep out of its way.
- [Qemu-devel] [PATCH v2][ 01/21] Add hard build dependency on glib, (continued)
- [Qemu-devel] [PATCH v2][ 01/21] Add hard build dependency on glib, Michael Roth, 2011/06/03
- [Qemu-devel] [PATCH v2][ 02/21] qlist: add qlist_first()/qlist_next(), Michael Roth, 2011/06/03
- [Qemu-devel] [PATCH v2][ 03/21] qapi: add module init types for qapi, Michael Roth, 2011/06/03
- [Qemu-devel] [PATCH v2][ 04/21] qapi: add ordereddict/qapi.py helper libraries, Michael Roth, 2011/06/03
- [Qemu-devel] [PATCH v2][ 05/21] qapi: add qapi-types.py code generator, Michael Roth, 2011/06/03
- Re: [Qemu-devel] [PATCH v2][ 05/21] qapi: add qapi-types.py code generator, Luiz Capitulino, 2011/06/09
- [Qemu-devel] [PATCH v2][ 06/21] qapi: add qapi-visit.py code generator, Michael Roth, 2011/06/03
- [Qemu-devel] [PATCH v2][ 07/21] qapi: add qapi-commands.py code generator, Michael Roth, 2011/06/03
- [Qemu-devel] [PATCH v2][ 08/21] qapi: add qapi-types-core.h, Michael Roth, 2011/06/03
- [Qemu-devel] [PATCH v2][ 09/21] qapi: add qapi-visit-core.h, Michael Roth, 2011/06/03
- [Qemu-devel] [PATCH v2][ 10/21] qapi: add QMP input visiter, Michael Roth, 2011/06/03