aboutsummaryrefslogtreecommitdiff
path: root/qapi-schema.json
diff options
context:
space:
mode:
authorDavid Anderson <dave@natulte.net>2016-09-21 21:00:19 -0700
committerMichael Tokarev <mjt@tls.msk.ru>2016-10-08 11:25:29 +0300
commita43edcf20a14aab81373fe64a6ed8cf84eb2a7f3 (patch)
tree542ec38e9efbd7fb6d53e4c23b7bca95e8a8c0b0 /qapi-schema.json
parent7a488b5b2426cfb1d0d0ab01960e29cf9127792b (diff)
qapi: make the json schema files more regular.
This makes it easier to parse the schema file for tool generation: each paragraph is either a non-docstring comment, or a docstring immediately followed by a Python dict describing an API item. Signed-off-by: David Anderson <dave@natulte.net> Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'qapi-schema.json')
-rw-r--r--qapi-schema.json3
1 files changed, 1 insertions, 2 deletions
diff --git a/qapi-schema.json b/qapi-schema.json
index c3dcf11a4a..9e47b47cc7 100644
--- a/qapi-schema.json
+++ b/qapi-schema.json
@@ -752,6 +752,7 @@
'cpu-throttle-increment': 'int',
'tls-creds': 'str',
'tls-hostname': 'str'} }
+
##
# @query-migrate-parameters
#
@@ -4118,7 +4119,6 @@
#
# Since 1.6
##
-
{ 'struct': 'RxFilterInfo',
'data': {
'name': 'str',
@@ -4338,7 +4338,6 @@
#
# Since: 2.1
##
-
{ 'struct': 'Memdev',
'data': {
'size': 'size',