On 03/30/2014 02:35 PM, Lluís Vilanova wrote: > Signed-off-by: Lluís Vilanova <vilan...@ac.upc.edu> > --- > 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
signature.asc
Description: OpenPGP digital signature