qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCHv52/3] qapi: Add a primitive to include other fil


From: Eric Blake
Subject: Re: [Qemu-devel] [PATCHv52/3] qapi: Add a primitive to include other files from a QAPI schema file
Date: Mon, 31 Mar 2014 10:48:51 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0

On 03/30/2014 02:35 PM, Lluís Vilanova wrote:
> Signed-off-by: Lluís Vilanova <address@hidden>
> ---
>  docs/qapi-code-gen.txt |    7 +++++++
>  scripts/qapi.py        |   35 ++++++++++++++++++++++++++++++-----
>  2 files changed, 37 insertions(+), 5 deletions(-)
> 
> diff --git a/docs/qapi-code-gen.txt b/docs/qapi-code-gen.txt
> index 824f6e5..1e19f64 100644
> --- a/docs/qapi-code-gen.txt
> +++ b/docs/qapi-code-gen.txt
> @@ -40,6 +40,13 @@ enumeration types and union types.
>  Generally speaking, types definitions should always use CamelCase for the 
> type
>  names. Command names should be all lower case with words separated by a 
> hyphen.
>  
> +The QAPI schema definitions can be modularized using the 'include' directive:
> +
> + { 'include': 'path/to/file.json'}
> +
> +Include paths are relative to the file using the directive.
> +

See my mail to Benoît's series comparing your two choices of documentation.

I didn't do a close comparison of which errors the two series could
detect, but suggest that you coordinate between the two of you who will
post the next version, and make sure that the different tests from both
versions be incorporated into the final patch.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]