qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH v1 57/72] qapi: Extract BlkdebugInjectErrorOptions d


From: Benoît Canet
Subject: [Qemu-devel] [PATCH v1 57/72] qapi: Extract BlkdebugInjectErrorOptions definition into qapi/block-core.json
Date: Sat, 31 May 2014 13:51:36 +0200

Signed-off-by: Benoit Canet <address@hidden>
---
 qapi-schema.json     | 32 --------------------------------
 qapi/block-core.json | 32 ++++++++++++++++++++++++++++++++
 2 files changed, 32 insertions(+), 32 deletions(-)

diff --git a/qapi-schema.json b/qapi-schema.json
index d1437a6..d2a25c4 100644
--- a/qapi-schema.json
+++ b/qapi-schema.json
@@ -3162,38 +3162,6 @@
   'returns': ['RxFilterInfo'] }
 
 ##
-# @BlkdebugInjectErrorOptions
-#
-# Describes a single error injection for blkdebug.
-#
-# @event:       trigger event
-#
-# @state:       #optional the state identifier blkdebug needs to be in to
-#               actually trigger the event; defaults to "any"
-#
-# @errno:       #optional error identifier (errno) to be returned; defaults to
-#               EIO
-#
-# @sector:      #optional specifies the sector index which has to be affected
-#               in order to actually trigger the event; defaults to "any
-#               sector"
-#
-# @once:        #optional disables further events after this one has been
-#               triggered; defaults to false
-#
-# @immediately: #optional fail immediately; defaults to false
-#
-# Since: 2.0
-##
-{ 'type': 'BlkdebugInjectErrorOptions',
-  'data': { 'event': 'BlkdebugEvent',
-            '*state': 'int',
-            '*errno': 'int',
-            '*sector': 'int',
-            '*once': 'bool',
-            '*immediately': 'bool' } }
-
-##
 # @BlkdebugSetStateOptions
 #
 # Describes a single state-change event for blkdebug.
diff --git a/qapi/block-core.json b/qapi/block-core.json
index c67d497..5aba01d 100644
--- a/qapi/block-core.json
+++ b/qapi/block-core.json
@@ -1259,3 +1259,35 @@
             'cluster_alloc_bytes', 'cluster_free', 'flush_to_os',
             'flush_to_disk' ] }
 
+##
+# @BlkdebugInjectErrorOptions
+#
+# Describes a single error injection for blkdebug.
+#
+# @event:       trigger event
+#
+# @state:       #optional the state identifier blkdebug needs to be in to
+#               actually trigger the event; defaults to "any"
+#
+# @errno:       #optional error identifier (errno) to be returned; defaults to
+#               EIO
+#
+# @sector:      #optional specifies the sector index which has to be affected
+#               in order to actually trigger the event; defaults to "any
+#               sector"
+#
+# @once:        #optional disables further events after this one has been
+#               triggered; defaults to false
+#
+# @immediately: #optional fail immediately; defaults to false
+#
+# Since: 2.0
+##
+{ 'type': 'BlkdebugInjectErrorOptions',
+  'data': { 'event': 'BlkdebugEvent',
+            '*state': 'int',
+            '*errno': 'int',
+            '*sector': 'int',
+            '*once': 'bool',
+            '*immediately': 'bool' } }
+
-- 
1.9.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]