diff options
author | David Anderson <dave@natulte.net> | 2016-09-21 21:00:19 -0700 |
---|---|---|
committer | Michael Tokarev <mjt@tls.msk.ru> | 2016-10-08 11:25:29 +0300 |
commit | a43edcf20a14aab81373fe64a6ed8cf84eb2a7f3 (patch) | |
tree | 542ec38e9efbd7fb6d53e4c23b7bca95e8a8c0b0 /qapi | |
parent | 7a488b5b2426cfb1d0d0ab01960e29cf9127792b (diff) | |
download | qemu-a43edcf20a14aab81373fe64a6ed8cf84eb2a7f3.zip qemu-a43edcf20a14aab81373fe64a6ed8cf84eb2a7f3.tar.gz qemu-a43edcf20a14aab81373fe64a6ed8cf84eb2a7f3.tar.bz2 |
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')
-rw-r--r-- | qapi/block-core.json | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/qapi/block-core.json b/qapi/block-core.json index 9d797b8..4badb97 100644 --- a/qapi/block-core.json +++ b/qapi/block-core.json @@ -25,7 +25,6 @@ # Since: 1.3 # ## - { 'struct': 'SnapshotInfo', 'data': { 'id': 'str', 'name': 'str', 'vm-state-size': 'int', 'date-sec': 'int', 'date-nsec': 'int', @@ -81,7 +80,6 @@ # # Since: 1.7 ## - { 'union': 'ImageInfoSpecific', 'data': { 'qcow2': 'ImageInfoSpecificQCow2', @@ -129,7 +127,6 @@ # Since: 1.3 # ## - { 'struct': 'ImageInfo', 'data': {'filename': 'str', 'format': 'str', '*dirty-flag': 'bool', '*actual-size': 'int', 'virtual-size': 'int', @@ -181,7 +178,6 @@ # Since: 1.4 # ## - { 'struct': 'ImageCheck', 'data': {'filename': 'str', 'format': 'str', 'check-errors': 'int', '*image-end-offset': 'int', '*corruptions': 'int', '*leaks': 'int', @@ -518,7 +514,6 @@ # # Since: 2.5 ## - { 'struct': 'BlockDeviceTimedStats', 'data': { 'interval_length': 'int', 'min_rd_latency_ns': 'int', 'max_rd_latency_ns': 'int', 'avg_rd_latency_ns': 'int', |