diff mbox

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

Message ID 1401537111-10221-15-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     | 15 ---------------
 qapi/block-core.json | 15 +++++++++++++++
 2 files changed, 15 insertions(+), 15 deletions(-)
diff mbox

Patch

diff --git a/qapi-schema.json b/qapi-schema.json
index cdfa222..408602b 100644
--- a/qapi-schema.json
+++ b/qapi-schema.json
@@ -664,21 +664,6 @@ 
 { 'command': 'query-iothreads', 'returns': ['IOThreadInfo'] }
 
 ##
-# @BlockDeviceIoStatus:
-#
-# An enumeration of block device I/O status.
-#
-# @ok: The last I/O operation has succeeded
-#
-# @failed: The last I/O operation has failed
-#
-# @nospace: The last I/O operation has failed due to a no-space condition
-#
-# Since: 1.0
-##
-{ 'enum': 'BlockDeviceIoStatus', 'data': [ 'ok', 'failed', 'nospace' ] }
-
-##
 # @BlockDeviceMapEntry:
 #
 # Entry in the metadata map of the device (returned by "qemu-img map")
diff --git a/qapi/block-core.json b/qapi/block-core.json
index e129db4..d355daa 100644
--- a/qapi/block-core.json
+++ b/qapi/block-core.json
@@ -250,3 +250,18 @@ 
             '*iops_rd_max': 'int', '*iops_wr_max': 'int',
             '*iops_size': 'int' } }
 
+##
+# @BlockDeviceIoStatus:
+#
+# An enumeration of block device I/O status.
+#
+# @ok: The last I/O operation has succeeded
+#
+# @failed: The last I/O operation has failed
+#
+# @nospace: The last I/O operation has failed due to a no-space condition
+#
+# Since: 1.0
+##
+{ 'enum': 'BlockDeviceIoStatus', 'data': [ 'ok', 'failed', 'nospace' ] }
+