diff mbox

[v1,16/72] qapi: Extract BlockDirtyInfo definition into qapi/block-core.json

Message ID 1401537111-10221-17-git-send-email-benoit.canet@irqsave.net
State New
Headers show

Commit Message

BenoƮt Canet May 31, 2014, 11:50 a.m. UTC
Signed-off-by: Benoit Canet <benoit@irqsave.net>
---
 qapi-schema.json     | 14 --------------
 qapi/block-core.json | 14 ++++++++++++++
 2 files changed, 14 insertions(+), 14 deletions(-)
diff mbox

Patch

diff --git a/qapi-schema.json b/qapi-schema.json
index 7047209..1cb7d2c 100644
--- a/qapi-schema.json
+++ b/qapi-schema.json
@@ -664,20 +664,6 @@ 
 { 'command': 'query-iothreads', 'returns': ['IOThreadInfo'] }
 
 ##
-# @BlockDirtyInfo:
-#
-# Block dirty bitmap information.
-#
-# @count: number of dirty bytes according to the dirty bitmap
-#
-# @granularity: granularity of the dirty bitmap in bytes (since 1.4)
-#
-# Since: 1.3
-##
-{ 'type': 'BlockDirtyInfo',
-  'data': {'count': 'int', 'granularity': 'int'} }
-
-##
 # @BlockInfo:
 #
 # Block device information.  This structure describes a virtual device and
diff --git a/qapi/block-core.json b/qapi/block-core.json
index 950defd..9f1995d 100644
--- a/qapi/block-core.json
+++ b/qapi/block-core.json
@@ -294,3 +294,17 @@ 
   'data': { 'start': 'int', 'length': 'int', 'depth': 'int', 'zero': 'bool',
             'data': 'bool', '*offset': 'int' } }
 
+##
+# @BlockDirtyInfo:
+#
+# Block dirty bitmap information.
+#
+# @count: number of dirty bytes according to the dirty bitmap
+#
+# @granularity: granularity of the dirty bitmap in bytes (since 1.4)
+#
+# Since: 1.3
+##
+{ 'type': 'BlockDirtyInfo',
+  'data': {'count': 'int', 'granularity': 'int'} }
+