Re: [Qemu-devel] [PATCH v2 1/2] qapi: change qapi to convert schema json

2013-07-26 Thread Amos Kong
On Fri, Jul 19, 2013 at 06:27:12AM -0600, Eric Blake wrote: On 07/16/2013 04:37 AM, Amos Kong wrote: QMP schema is defined in a json file, it will be parsed by qapi scripts and generate C files. We want to return the schema information to management, this patch converts the json file

Re: [Qemu-devel] [PATCH v2 1/2] qapi: change qapi to convert schema json

2013-07-25 Thread Amos Kong
On Wed, Jul 17, 2013 at 04:09:32PM -0400, Luiz Capitulino wrote: On Tue, 16 Jul 2013 18:37:41 +0800 Amos Kong ak...@redhat.com wrote: QMP schema is defined in a json file, it will be parsed by qapi scripts and generate C files. We want to return the schema information to management,

Re: [Qemu-devel] [PATCH v2 1/2] qapi: change qapi to convert schema json

2013-07-19 Thread Eric Blake
On 07/16/2013 04:37 AM, Amos Kong wrote: QMP schema is defined in a json file, it will be parsed by qapi scripts and generate C files. We want to return the schema information to management, this patch converts the json file to a string table in a C head file, then we can use the json

Re: [Qemu-devel] [PATCH v2 1/2] qapi: change qapi to convert schema json

2013-07-17 Thread Luiz Capitulino
On Tue, 16 Jul 2013 18:37:41 +0800 Amos Kong ak...@redhat.com wrote: QMP schema is defined in a json file, it will be parsed by qapi scripts and generate C files. We want to return the schema information to management, this patch converts the json file to a string table in a C head file,

[Qemu-devel] [PATCH v2 1/2] qapi: change qapi to convert schema json

2013-07-16 Thread Amos Kong
QMP schema is defined in a json file, it will be parsed by qapi scripts and generate C files. We want to return the schema information to management, this patch converts the json file to a string table in a C head file, then we can use the json content. eg: const char *const qmp_schema_table[]