[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v1 06/72] qapi: create two block related json module
From: |
Benoît Canet |
Subject: |
[Qemu-devel] [PATCH v1 06/72] qapi: create two block related json modules |
Date: |
Sat, 31 May 2014 13:50:45 +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 <address@hidden>
---
qapi-schema.json | 3 +++
qapi/block-core.json | 8 ++++++++
qapi/block.json | 7 +++++++
3 files changed, 18 insertions(+)
create mode 100644 qapi/block-core.json
create mode 100644 qapi/block.json
diff --git a/qapi-schema.json b/qapi-schema.json
index 1afe023..1ed5926 100644
--- a/qapi-schema.json
+++ b/qapi-schema.json
@@ -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
index 0000000..fa48e63
--- /dev/null
+++ b/qapi/block-core.json
@@ -0,0 +1,8 @@
+# -*- 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
index 0000000..e2b882f
--- /dev/null
+++ b/qapi/block.json
@@ -0,0 +1,7 @@
+# -*- Mode: Python -*-
+#
+# QAPI block definitions (vm related)
+
+# QAPI block core definitions
+{ 'include': 'block-core.json' }
+
--
1.9.1
- [Qemu-devel] [PATCH v1 10/72] qapi: Extract ImageInfoSpecific definition into qapi/block-core.json, (continued)
- [Qemu-devel] [PATCH v1 10/72] qapi: Extract ImageInfoSpecific definition into qapi/block-core.json, Benoît Canet, 2014/05/31
- [Qemu-devel] [PATCH v1 11/72] qapi: Extract ImageInfo definition into qapi/block-core.json, Benoît Canet, 2014/05/31
- [Qemu-devel] [PATCH v1 13/72] qapi: Extract BlockDeviceInfo definition into qapi/block-core.json, Benoît Canet, 2014/05/31
- [Qemu-devel] [PATCH v1 01/72] qapi: Extract ErrorClass definition in qapi/common.json, Benoît Canet, 2014/05/31
- [Qemu-devel] [PATCH v1 05/72] qapi: Extract query-commands definition into qapi/common.json, Benoît Canet, 2014/05/31
- [Qemu-devel] [PATCH v1 08/72] qapi: Extract ImageInfoSpecificQCow2 definition into qapi/block-core.json, Benoît Canet, 2014/05/31
- [Qemu-devel] [PATCH v1 15/72] qapi: Extract BlockDeviceMapEntry definition into qapi/block-core.json, Benoît Canet, 2014/05/31
- [Qemu-devel] [PATCH v1 12/72] qapi: Extract ImageCheck definition into qapi/block-core.json, Benoît Canet, 2014/05/31
- [Qemu-devel] [PATCH v1 04/72] qapi: Extract CommandInfo definition in qapi/common.json, Benoît Canet, 2014/05/31
- [Qemu-devel] [PATCH v1 09/72] qapi: Extract ImageInfoSpecificQCow2 definition into qapi/block-core.json, Benoît Canet, 2014/05/31
- [Qemu-devel] [PATCH v1 06/72] qapi: create two block related json modules,
Benoît Canet <=
- [Qemu-devel] [PATCH v1 02/72] qapi: Extract VersionInfo definition in qapi/common.json, Benoît Canet, 2014/05/31
- [Qemu-devel] [PATCH v1 07/72] qapi: Extract SnapshotInfo definition into qapi/block-core.json, Benoît Canet, 2014/05/31
- [Qemu-devel] [PATCH v1 14/72] qapi: Extract BlockDeviceIoStatus definition into qapi/block-core.json, Benoît Canet, 2014/05/31
- [Qemu-devel] [PATCH v1 17/72] qapi: Extract BlockInfo definition into qapi/block-core.json, Benoît Canet, 2014/05/31
- [Qemu-devel] [PATCH v1 16/72] qapi: Extract BlockDirtyInfo definition into qapi/block-core.json, Benoît Canet, 2014/05/31
- [Qemu-devel] [PATCH v1 20/72] qapi: Extract BlockStats definition into qapi/block-core.json, Benoît Canet, 2014/05/31
- [Qemu-devel] [PATCH v1 19/72] qapi: Extract BlockDeviceStats definition into qapi/block-core.json, Benoît Canet, 2014/05/31
- [Qemu-devel] [PATCH v1 27/72] qapi: Extract block_passwd definition into qapi/block-core.json, Benoît Canet, 2014/05/31
- [Qemu-devel] [PATCH v1 22/72] qapi: Extract BlockdevOnError definition into qapi/block-core.json, Benoît Canet, 2014/05/31
- [Qemu-devel] [PATCH v1 21/72] qapi: Extract query-blockstats definition into qapi/block-core.json, Benoît Canet, 2014/05/31