]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
qapi-schema: Make block-core.json self-contained
authorMarkus Armbruster <armbru@redhat.com>
Thu, 24 Aug 2017 19:14:06 +0000 (21:14 +0200)
committerMarkus Armbruster <armbru@redhat.com>
Mon, 4 Sep 2017 11:09:12 +0000 (13:09 +0200)
Except for block-core.json, the sub-schemas are self-contained: if
they use a symbol defined in another sub-schema, they include that
sub-schema.  To check, feed the sub-schema to qapi2texi (or any other
QAPI generator) along with the pragma from qapi-schema.json.

Fix up things to make block-core.json self-contained, too.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <1503602048-12268-15-git-send-email-armbru@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
qapi-schema.json
qapi/block-core.json
qapi/common.json

index 4964d927bd989d4ef59290260bbaa6e5f3878e97..80c15dade36fcd7f6f98ad9931061d26062a13e2 100644 (file)
 { 'event': 'ACPI_DEVICE_OST',
      'data': { 'info': 'ACPIOSTInfo' } }
 
-##
-# @IoOperationType:
-#
-# An enumeration of the I/O operation types
-#
-# @read: read operation
-#
-# @write: write operation
-#
-# Since: 2.1
-##
-{ 'enum': 'IoOperationType',
-  'data': [ 'read', 'write' ] }
-
 ##
 # @rtc-reset-reinjection:
 #
index 53796742920dee250e729fef37467177ee9a41f3..f4caa5c21b7f65fa387ef0f0c5e13a2ff9882501 100644 (file)
@@ -5,6 +5,7 @@
 ##
 
 { 'include': 'common.json' }
+{ 'include': 'crypto.json' }
 { 'include': 'sockets.json' }
 
 ##
index e2c58564d8479486388402bbd71fd5cd3f620b2c..fc72d7ec3d7ab63ecb442c92ae66bb04fd9cf144 100644 (file)
 ##
 { 'command': 'query-commands', 'returns': ['CommandInfo'] }
 
+##
+# @IoOperationType:
+#
+# An enumeration of the I/O operation types
+#
+# @read: read operation
+#
+# @write: write operation
+#
+# Since: 2.1
+##
+{ 'enum': 'IoOperationType',
+  'data': [ 'read', 'write' ] }
+
 ##
 # @OnOffAuto:
 #