summaryrefslogtreecommitdiffstats
path: root/tests/qapi-schema/include-self-cycle.json
diff options
context:
space:
mode:
authorLluís Vilanova2014-05-07 20:46:15 +0200
committerLuiz Capitulino2014-05-08 20:19:58 +0200
commita719a27c824ea5e70f5bf6f3c8d13a8c1d6b1bfe (patch)
tree6510043e8cbf7065c8ea9802f67b91f425820143 /tests/qapi-schema/include-self-cycle.json
parentqapi: Use an explicit input file (diff)
downloadqemu-a719a27c824ea5e70f5bf6f3c8d13a8c1d6b1bfe.tar.gz
qemu-a719a27c824ea5e70f5bf6f3c8d13a8c1d6b1bfe.tar.xz
qemu-a719a27c824ea5e70f5bf6f3c8d13a8c1d6b1bfe.zip
qapi: Add a primitive to include other files from a QAPI schema file
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>
Diffstat (limited to 'tests/qapi-schema/include-self-cycle.json')
-rw-r--r--tests/qapi-schema/include-self-cycle.json1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/qapi-schema/include-self-cycle.json b/tests/qapi-schema/include-self-cycle.json
new file mode 100644
index 0000000000..55fb1b596f
--- /dev/null
+++ b/tests/qapi-schema/include-self-cycle.json
@@ -0,0 +1 @@
+{ 'include': 'include-self-cycle.json' }