Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | qapi: Improve 'include' error message | Eric Blake | 2015-10-12 | 1 | -1/+1 |
| | | | | | | | | | | | | | | Use of '"...%s" % include' to print non-strings can lead to ugly messages, such as this (if the .json change is applied without the qapi.py change): Expected a file name (string), got: OrderedDict() Better is to just omit the actual non-string value in the message. Signed-off-by: Eric Blake <eblake@redhat.com> Message-Id: <1443565276-4535-3-git-send-email-eblake@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com> | ||||
* | qapi: Add a primitive to include other files from a QAPI schema file | Lluís Vilanova | 2014-05-08 | 1 | -0/+1 |
The primitive uses JSON syntax, and include paths are relative to the file using the directive: { 'include': 'path/to/file.json' } Signed-off-by: Lluís Vilanova <vilanova@ac.upc.edu> Reviewed-by: Eric Blake <eblake@redhat.com> Reviewed-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com> |