]> git.proxmox.com Git - mirror_qemu.git/commitdiff
qapi: create two block related json modules
authorBenoît Canet <benoit.canet@irqsave.net>
Thu, 5 Jun 2014 11:45:30 +0000 (13:45 +0200)
committerStefan Hajnoczi <stefanha@redhat.com>
Fri, 6 Jun 2014 14:25:48 +0000 (16:25 +0200)
qapi/block-core.json contains block definitions unrelated to emulation.

qapi/block.json is a superset of the previous and contains definitions related
to emulation.

The purpose of these extractions is to be able to hook qapi/block-core.json
generated code on qemu-nbd.

Signed-off-by: Benoit Canet <benoit@irqsave.net>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
qapi-schema.json
qapi/block-core.json [new file with mode: 0644]
qapi/block.json [new file with mode: 0644]

index cc71b2782244cc8bfee3764d6724396dc162f749..7d47f4dff45546af1dee240c47489b5ad437425b 100644 (file)
@@ -5,6 +5,9 @@
 # QAPI common definitions
 { 'include': 'qapi/common.json' }
 
+# QAPI block definitions
+{ 'include': 'qapi/block.json' }
+
 ##
 # LostTickPolicy:
 #
diff --git a/qapi/block-core.json b/qapi/block-core.json
new file mode 100644 (file)
index 0000000..11bd8c2
--- /dev/null
@@ -0,0 +1,6 @@
+# -*- Mode: Python -*-
+#
+# QAPI block core definitions (vm unrelated)
+
+# QAPI common definitions
+{ 'include': 'common.json' }
diff --git a/qapi/block.json b/qapi/block.json
new file mode 100644 (file)
index 0000000..e2b882f
--- /dev/null
@@ -0,0 +1,7 @@
+# -*- Mode: Python -*-
+#
+# QAPI block definitions (vm related)
+
+# QAPI block core definitions
+{ 'include': 'block-core.json' }
+