qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH v1 39/72] qapi: Extract block-job-set-speed definiti


From: Benoît Canet
Subject: [Qemu-devel] [PATCH v1 39/72] qapi: Extract block-job-set-speed definition into qapi/block-core.json
Date: Sat, 31 May 2014 13:51:18 +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 3c71c16..307fc54 100644
--- a/qapi-schema.json
+++ b/qapi-schema.json
@@ -1621,28 +1621,6 @@
   'data': {'device': 'str', 'target': 'str', '*arg': 'str'} }
 
 ##
-# @block-job-set-speed:
-#
-# Set maximum speed for a background block operation.
-#
-# This command can only be issued when there is an active block job.
-#
-# Throttling can be disabled by setting the speed to 0.
-#
-# @device: the device name
-#
-# @speed:  the maximum speed, in bytes per second, or 0 for unlimited.
-#          Defaults to 0.
-#
-# Returns: Nothing on success
-#          If no background operation is active on this device, DeviceNotActive
-#
-# Since: 1.1
-##
-{ 'command': 'block-job-set-speed',
-  'data': { 'device': 'str', 'speed': 'int' } }
-
-##
 # @block-job-cancel:
 #
 # Stop an active background block operation.
diff --git a/qapi/block-core.json b/qapi/block-core.json
index a91f21a..48b2fc3 100644
--- a/qapi/block-core.json
+++ b/qapi/block-core.json
@@ -886,3 +886,25 @@
   'data': { 'device': 'str', '*base': 'str', '*speed': 'int',
             '*on-error': 'BlockdevOnError' } }
 
+##
+# @block-job-set-speed:
+#
+# Set maximum speed for a background block operation.
+#
+# This command can only be issued when there is an active block job.
+#
+# Throttling can be disabled by setting the speed to 0.
+#
+# @device: the device name
+#
+# @speed:  the maximum speed, in bytes per second, or 0 for unlimited.
+#          Defaults to 0.
+#
+# Returns: Nothing on success
+#          If no background operation is active on this device, DeviceNotActive
+#
+# Since: 1.1
+##
+{ 'command': 'block-job-set-speed',
+  'data': { 'device': 'str', 'speed': 'int' } }
+
-- 
1.9.1




reply via email to

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