[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
- [Qemu-devel] [PATCH v1 47/72] qapi: Extract BlockdevAioOptions definition into qapi/block-core.json, (continued)
- [Qemu-devel] [PATCH v1 47/72] qapi: Extract BlockdevAioOptions definition into qapi/block-core.json, Benoît Canet, 2014/05/31
- [Qemu-devel] [PATCH v1 48/72] qapi: Extract BlockdevCacheOptions definition into qapi/block-core.json, Benoît Canet, 2014/05/31
- [Qemu-devel] [PATCH v1 49/72] qapi: Extract BlockdevDriver definition into qapi/block-core.json, Benoît Canet, 2014/05/31
- [Qemu-devel] [PATCH v1 50/72] qapi: Extract BlockdevOptionsBase definition into qapi/block-core.json, Benoît Canet, 2014/05/31
- [Qemu-devel] [PATCH v1 51/72] qapi: Extract BlockdevOptionsFile definition into qapi/block-core.json, Benoît Canet, 2014/05/31
- [Qemu-devel] [PATCH v1 52/72] qapi: Extract BlockdevOptionsVVFAT definition into qapi/block-core.json, Benoît Canet, 2014/05/31
- [Qemu-devel] [PATCH v1 53/72] qapi: Extract BlockdevOptionsGenericFormat definition into qapi/block-core.json, Benoît Canet, 2014/05/31
- [Qemu-devel] [PATCH v1 54/72] qapi: Extract BlockdevOptionsGenericCOWFormat definition into qapi/block-core.json, Benoît Canet, 2014/05/31
- [Qemu-devel] [PATCH v1 56/72] qapi: Extract BlkdebugEvent definition into qapi/block-core.json, Benoît Canet, 2014/05/31
- [Qemu-devel] [PATCH v1 55/72] qapi: Extract BlockdevOptionsQcow2 definition into qapi/block-core.json, Benoît Canet, 2014/05/31
- [Qemu-devel] [PATCH v1 57/72] qapi: Extract BlkdebugInjectErrorOptions definition into qapi/block-core.json,
Benoît Canet <=
- [Qemu-devel] [PATCH v1 58/72] qapi: Extract BlkdebugSetStateOptions definition into qapi/block-core.json, Benoît Canet, 2014/05/31
- [Qemu-devel] [PATCH v1 64/72] qapi: Extract blockdev-add definition into qapi/block-core.json, Benoît Canet, 2014/05/31
- [Qemu-devel] [PATCH v1 60/72] qapi: Extract BlockdevOptionsBlkverify definition into qapi/block-core.json, Benoît Canet, 2014/05/31
- [Qemu-devel] [PATCH v1 61/72] qapi: Extract BlockdevOptionsQuorum definition into qapi/block-core.json, Benoît Canet, 2014/05/31
- [Qemu-devel] [PATCH v1 63/72] qapi: Extract BlockdevRef definition into qapi/block-core.json, Benoît Canet, 2014/05/31
- [Qemu-devel] [PATCH v1 62/72] qapi: Extract BlockdevOptions definition into qapi/block-core.json, Benoît Canet, 2014/05/31
- [Qemu-devel] [PATCH v1 66/72] qapi: Extract BlockdevSnapshotInternal definition into qapi/block.json, Benoît Canet, 2014/05/31
- [Qemu-devel] [PATCH v1 65/72] qapi: Extract BiosAtaTranslation definition into qapi/block.json, Benoît Canet, 2014/05/31
- [Qemu-devel] [PATCH v1 67/72] qapi: Extract blockdev-snapshot-internal-sync definition into qapi/block.json, Benoît Canet, 2014/05/31
- [Qemu-devel] [PATCH v1 68/72] qapi: Extract blockdev-snapshot-delete-internal-sync definition into qapi/block.json, Benoît Canet, 2014/05/31