qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH v1 46/72] qapi: Extract BlockdevDetectZeroesOptions


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

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

diff --git a/qapi-schema.json b/qapi-schema.json
index 6c29cb8..04e2e5d 100644
--- a/qapi-schema.json
+++ b/qapi-schema.json
@@ -3162,22 +3162,6 @@
   'returns': ['RxFilterInfo'] }
 
 ##
-# @BlockdevDetectZeroesOptions
-#
-# Describes the operation mode for the automatic conversion of plain
-# zero writes by the OS to driver specific optimized zero write commands.
-#
-# @off:      Disabled (default)
-# @on:       Enabled
-# @unmap:    Enabled and even try to unmap blocks if possible. This requires
-#            also that @BlockdevDiscardOptions is set to unmap for this device.
-#
-# Since: 2.1
-##
-{ 'enum': 'BlockdevDetectZeroesOptions',
-  'data': [ 'off', 'on', 'unmap' ] }
-
-##
 # @BlockdevAioOptions
 #
 # Selects the AIO backend to handle I/O requests
diff --git a/qapi/block-core.json b/qapi/block-core.json
index 85cb470..96013bf 100644
--- a/qapi/block-core.json
+++ b/qapi/block-core.json
@@ -1053,3 +1053,19 @@
 { 'enum': 'BlockdevDiscardOptions',
   'data': [ 'ignore', 'unmap' ] }
 
+##
+# @BlockdevDetectZeroesOptions
+#
+# Describes the operation mode for the automatic conversion of plain
+# zero writes by the OS to driver specific optimized zero write commands.
+#
+# @off:      Disabled (default)
+# @on:       Enabled
+# @unmap:    Enabled and even try to unmap blocks if possible. This requires
+#            also that @BlockdevDiscardOptions is set to unmap for this device.
+#
+# Since: 2.1
+##
+{ 'enum': 'BlockdevDetectZeroesOptions',
+  'data': [ 'off', 'on', 'unmap' ] }
+
-- 
1.9.1




reply via email to

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