[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v1 15/72] qapi: Extract BlockDeviceMapEntry definiti
From: |
Benoît Canet |
Subject: |
[Qemu-devel] [PATCH v1 15/72] qapi: Extract BlockDeviceMapEntry definition into qapi/block-core.json |
Date: |
Sat, 31 May 2014 13:50:54 +0200 |
Signed-off-by: Benoit Canet <address@hidden>
---
qapi-schema.json | 29 -----------------------------
qapi/block-core.json | 29 +++++++++++++++++++++++++++++
2 files changed, 29 insertions(+), 29 deletions(-)
diff --git a/qapi-schema.json b/qapi-schema.json
index 408602b..7047209 100644
--- a/qapi-schema.json
+++ b/qapi-schema.json
@@ -664,35 +664,6 @@
{ 'command': 'query-iothreads', 'returns': ['IOThreadInfo'] }
##
-# @BlockDeviceMapEntry:
-#
-# Entry in the metadata map of the device (returned by "qemu-img map")
-#
-# @start: Offset in the image of the first byte described by this entry
-# (in bytes)
-#
-# @length: Length of the range described by this entry (in bytes)
-#
-# @depth: Number of layers (0 = top image, 1 = top image's backing file, etc.)
-# before reaching one for which the range is allocated. The value is
-# in the range 0 to the depth of the image chain - 1.
-#
-# @zero: the sectors in this range read as zeros
-#
-# @data: reading the image will actually read data from a file (in particular,
-# if @offset is present this means that the sectors are not simply
-# preallocated, but contain actual data in raw format)
-#
-# @offset: if present, the image file stores the data for this range in
-# raw format at the given offset.
-#
-# Since 1.7
-##
-{ 'type': 'BlockDeviceMapEntry',
- 'data': { 'start': 'int', 'length': 'int', 'depth': 'int', 'zero': 'bool',
- 'data': 'bool', '*offset': 'int' } }
-
-##
# @BlockDirtyInfo:
#
# Block dirty bitmap information.
diff --git a/qapi/block-core.json b/qapi/block-core.json
index d355daa..950defd 100644
--- a/qapi/block-core.json
+++ b/qapi/block-core.json
@@ -265,3 +265,32 @@
##
{ 'enum': 'BlockDeviceIoStatus', 'data': [ 'ok', 'failed', 'nospace' ] }
+##
+# @BlockDeviceMapEntry:
+#
+# Entry in the metadata map of the device (returned by "qemu-img map")
+#
+# @start: Offset in the image of the first byte described by this entry
+# (in bytes)
+#
+# @length: Length of the range described by this entry (in bytes)
+#
+# @depth: Number of layers (0 = top image, 1 = top image's backing file, etc.)
+# before reaching one for which the range is allocated. The value is
+# in the range 0 to the depth of the image chain - 1.
+#
+# @zero: the sectors in this range read as zeros
+#
+# @data: reading the image will actually read data from a file (in particular,
+# if @offset is present this means that the sectors are not simply
+# preallocated, but contain actual data in raw format)
+#
+# @offset: if present, the image file stores the data for this range in
+# raw format at the given offset.
+#
+# Since 1.7
+##
+{ 'type': 'BlockDeviceMapEntry',
+ 'data': { 'start': 'int', 'length': 'int', 'depth': 'int', 'zero': 'bool',
+ 'data': 'bool', '*offset': 'int' } }
+
--
1.9.1
- [Qemu-devel] [PATCH v1 00/72] Extract qapi commons and block definitions, Benoît Canet, 2014/05/31
- [Qemu-devel] [PATCH v1 03/72] qapi: Extract query-version definition in qapi/common.json, Benoît Canet, 2014/05/31
- [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 <=
- [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, 2014/05/31
- [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