qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH v1 42/72] qapi: Extract block-job-resume definition


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

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

diff --git a/qapi-schema.json b/qapi-schema.json
index 17d92df..3d4254c 100644
--- a/qapi-schema.json
+++ b/qapi-schema.json
@@ -1621,26 +1621,6 @@
   'data': {'device': 'str', 'target': 'str', '*arg': 'str'} }
 
 ##
-# @block-job-resume:
-#
-# Resume an active background block operation.
-#
-# This command returns immediately after resuming a paused background block
-# operation.  It is an error to call this command if no operation is in
-# progress.  Resuming an already running job is not an error.
-#
-# This command also clears the error status of the job.
-#
-# @device: the device name
-#
-# Returns: Nothing on success
-#          If no background operation is active on this device, DeviceNotActive
-#
-# Since: 1.3
-##
-{ 'command': 'block-job-resume', 'data': { 'device': 'str' } }
-
-##
 # @block-job-complete:
 #
 # Manually trigger completion of an active background block operation.  This
diff --git a/qapi/block-core.json b/qapi/block-core.json
index 51c941a..540b7ee 100644
--- a/qapi/block-core.json
+++ b/qapi/block-core.json
@@ -961,3 +961,23 @@
 ##
 { 'command': 'block-job-pause', 'data': { 'device': 'str' } }
 
+##
+# @block-job-resume:
+#
+# Resume an active background block operation.
+#
+# This command returns immediately after resuming a paused background block
+# operation.  It is an error to call this command if no operation is in
+# progress.  Resuming an already running job is not an error.
+#
+# This command also clears the error status of the job.
+#
+# @device: the device name
+#
+# Returns: Nothing on success
+#          If no background operation is active on this device, DeviceNotActive
+#
+# Since: 1.3
+##
+{ 'command': 'block-job-resume', 'data': { 'device': 'str' } }
+
-- 
1.9.1




reply via email to

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