[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v1 50/72] qapi: Extract BlockdevOptionsBase definiti
From: |
Benoît Canet |
Subject: |
[Qemu-devel] [PATCH v1 50/72] qapi: Extract BlockdevOptionsBase definition into qapi/block-core.json |
Date: |
Sat, 31 May 2014 13:51:29 +0200 |
Signed-off-by: Benoit Canet <address@hidden>
---
qapi-schema.json | 37 -------------------------------------
qapi/block-core.json | 37 +++++++++++++++++++++++++++++++++++++
2 files changed, 37 insertions(+), 37 deletions(-)
diff --git a/qapi-schema.json b/qapi-schema.json
index 8162c9a..59a7623 100644
--- a/qapi-schema.json
+++ b/qapi-schema.json
@@ -3162,43 +3162,6 @@
'returns': ['RxFilterInfo'] }
##
-# @BlockdevOptionsBase
-#
-# Options that are available for all block devices, independent of the block
-# driver.
-#
-# @driver: block driver name
-# @id: #optional id by which the new block device can be referred
to.
-# This is a required option on the top level of blockdev-add,
and
-# currently not allowed on any other level.
-# @node-name: #optional the name of a block driver state node (Since 2.0)
-# @discard: #optional discard-related options (default: ignore)
-# @cache: #optional cache-related options
-# @aio: #optional AIO backend (default: threads)
-# @rerror: #optional how to handle read errors on the device
-# (default: report)
-# @werror: #optional how to handle write errors on the device
-# (default: enospc)
-# @read-only: #optional whether the block device should be read-only
-# (default: false)
-# @detect-zeroes: #optional detect and optimize zero writes (Since 2.1)
-# (default: off)
-#
-# Since: 1.7
-##
-{ 'type': 'BlockdevOptionsBase',
- 'data': { 'driver': 'BlockdevDriver',
- '*id': 'str',
- '*node-name': 'str',
- '*discard': 'BlockdevDiscardOptions',
- '*cache': 'BlockdevCacheOptions',
- '*aio': 'BlockdevAioOptions',
- '*rerror': 'BlockdevOnError',
- '*werror': 'BlockdevOnError',
- '*read-only': 'bool',
- '*detect-zeroes': 'BlockdevDetectZeroesOptions' } }
-
-##
# @BlockdevOptionsFile
#
# Driver specific block device options for the file backend and similar
diff --git a/qapi/block-core.json b/qapi/block-core.json
index 95362a8..2038ef4 100644
--- a/qapi/block-core.json
+++ b/qapi/block-core.json
@@ -1115,3 +1115,40 @@
'blkverify', 'bochs', 'cloop', 'cow', 'dmg', 'parallels', 'qcow',
'qcow2', 'qed', 'raw', 'vdi', 'vhdx', 'vmdk', 'vpc', 'quorum' ] }
+##
+# @BlockdevOptionsBase
+#
+# Options that are available for all block devices, independent of the block
+# driver.
+#
+# @driver: block driver name
+# @id: #optional id by which the new block device can be referred
to.
+# This is a required option on the top level of blockdev-add,
and
+# currently not allowed on any other level.
+# @node-name: #optional the name of a block driver state node (Since 2.0)
+# @discard: #optional discard-related options (default: ignore)
+# @cache: #optional cache-related options
+# @aio: #optional AIO backend (default: threads)
+# @rerror: #optional how to handle read errors on the device
+# (default: report)
+# @werror: #optional how to handle write errors on the device
+# (default: enospc)
+# @read-only: #optional whether the block device should be read-only
+# (default: false)
+# @detect-zeroes: #optional detect and optimize zero writes (Since 2.1)
+# (default: off)
+#
+# Since: 1.7
+##
+{ 'type': 'BlockdevOptionsBase',
+ 'data': { 'driver': 'BlockdevDriver',
+ '*id': 'str',
+ '*node-name': 'str',
+ '*discard': 'BlockdevDiscardOptions',
+ '*cache': 'BlockdevCacheOptions',
+ '*aio': 'BlockdevAioOptions',
+ '*rerror': 'BlockdevOnError',
+ '*werror': 'BlockdevOnError',
+ '*read-only': 'bool',
+ '*detect-zeroes': 'BlockdevDetectZeroesOptions' } }
+
--
1.9.1
- [Qemu-devel] [PATCH v1 40/72] qapi: Extrat block-job-cancel definition into qapi/block-core.json, (continued)
- [Qemu-devel] [PATCH v1 40/72] qapi: Extrat block-job-cancel definition into qapi/block-core.json, Benoît Canet, 2014/05/31
- [Qemu-devel] [PATCH v1 39/72] qapi: Extract block-job-set-speed definition into qapi/block-core.json, Benoît Canet, 2014/05/31
- [Qemu-devel] [PATCH v1 43/72] qapi: Extract block-job-complete definition into qapi/block-core.json, Benoît Canet, 2014/05/31
- [Qemu-devel] [PATCH v1 42/72] qapi: Extract block-job-resume definition into qapi/block-core.json, Benoît Canet, 2014/05/31
- [Qemu-devel] [PATCH v1 46/72] qapi: Extract BlockdevDetectZeroesOptions definition into qapi/block-core.json, Benoît Canet, 2014/05/31
- [Qemu-devel] [PATCH v1 44/72] qapi: Extract drive-mirror-replace definition into qapi/block-core.json, Benoît Canet, 2014/05/31
- [Qemu-devel] [PATCH v1 45/72] qapi: Extract BlockdevDiscardOptions definition into qapi/block-core.json, Benoît Canet, 2014/05/31
- [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 <=
- [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, 2014/05/31
- [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