qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH v1 61/72] qapi: Extract BlockdevOptionsQuorum defini


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

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

diff --git a/qapi-schema.json b/qapi-schema.json
index 2f5e0e2..9e7138e 100644
--- a/qapi-schema.json
+++ b/qapi-schema.json
@@ -3162,28 +3162,6 @@
   'returns': ['RxFilterInfo'] }
 
 ##
-# @BlockdevOptionsQuorum
-#
-# Driver specific block device options for Quorum
-#
-# @blkverify:      #optional true if the driver must print content mismatch
-#                  set to false by default
-#
-# @children:       the children block devices to use
-#
-# @vote-threshold: the vote limit under which a read will fail
-#
-# @rewrite-corrupted: #optional rewrite corrupted data when quorum is reached
-#                     (Since 2.1)
-#
-# Since: 2.0
-##
-{ 'type': 'BlockdevOptionsQuorum',
-  'data': { '*blkverify': 'bool',
-            'children': [ 'BlockdevRef' ],
-            'vote-threshold': 'int', '*rewrite-corrupted': 'bool' } }
-
-##
 # @BlockdevOptions
 #
 # Options for creating a block device.
diff --git a/qapi/block-core.json b/qapi/block-core.json
index ec563d1..2373ef0 100644
--- a/qapi/block-core.json
+++ b/qapi/block-core.json
@@ -1350,3 +1350,25 @@
   'data': { 'test': 'BlockdevRef',
             'raw': 'BlockdevRef' } }
 
+##
+# @BlockdevOptionsQuorum
+#
+# Driver specific block device options for Quorum
+#
+# @blkverify:      #optional true if the driver must print content mismatch
+#                  set to false by default
+#
+# @children:       the children block devices to use
+#
+# @vote-threshold: the vote limit under which a read will fail
+#
+# @rewrite-corrupted: #optional rewrite corrupted data when quorum is reached
+#                     (Since 2.1)
+#
+# Since: 2.0
+##
+{ 'type': 'BlockdevOptionsQuorum',
+  'data': { '*blkverify': 'bool',
+            'children': [ 'BlockdevRef' ],
+            'vote-threshold': 'int', '*rewrite-corrupted': 'bool' } }
+
-- 
1.9.1




reply via email to

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