|
|
383d26 |
From f00178eea8078521e2d3020df4873d27b16adacc Mon Sep 17 00:00:00 2001
|
|
|
383d26 |
From: Kevin Wolf <kwolf@redhat.com>
|
|
|
383d26 |
Date: Tue, 26 Jun 2018 09:47:57 +0200
|
|
|
383d26 |
Subject: [PATCH 28/89] blockjob: Update block-job-pause/resume documentation
|
|
|
383d26 |
|
|
|
383d26 |
RH-Author: Kevin Wolf <kwolf@redhat.com>
|
|
|
383d26 |
Message-id: <20180626094856.6924-15-kwolf@redhat.com>
|
|
|
383d26 |
Patchwork-id: 81069
|
|
|
383d26 |
O-Subject: [RHV-7.6 qemu-kvm-rhev PATCH v2 14/73] blockjob: Update block-job-pause/resume documentation
|
|
|
383d26 |
Bugzilla: 1513543
|
|
|
383d26 |
RH-Acked-by: Jeffrey Cody <jcody@redhat.com>
|
|
|
383d26 |
RH-Acked-by: Max Reitz <mreitz@redhat.com>
|
|
|
383d26 |
RH-Acked-by: Fam Zheng <famz@redhat.com>
|
|
|
383d26 |
|
|
|
383d26 |
Commit 0ec4dfb8d changed block-job_pause/resume so that they return an
|
|
|
383d26 |
error if they don't do anything because the job is already
|
|
|
383d26 |
paused/running. It forgot to update the documentation, so do that now.
|
|
|
383d26 |
|
|
|
383d26 |
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
|
|
|
383d26 |
Reviewed-by: Eric Blake <eblake@redhat.com>
|
|
|
383d26 |
Reviewed-by: John Snow <jsnow@redhat.com>
|
|
|
383d26 |
(cherry picked from commit cd44d96be90e7767c6fb8f33b90939eb58814956)
|
|
|
383d26 |
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
|
|
|
383d26 |
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
|
|
|
383d26 |
---
|
|
|
383d26 |
qapi/block-core.json | 5 ++---
|
|
|
383d26 |
1 file changed, 2 insertions(+), 3 deletions(-)
|
|
|
383d26 |
|
|
|
383d26 |
diff --git a/qapi/block-core.json b/qapi/block-core.json
|
|
|
383d26 |
index 9012d00..d24c12b 100644
|
|
|
383d26 |
--- a/qapi/block-core.json
|
|
|
383d26 |
+++ b/qapi/block-core.json
|
|
|
383d26 |
@@ -2338,8 +2338,7 @@
|
|
|
383d26 |
#
|
|
|
383d26 |
# This command returns immediately after marking the active background block
|
|
|
383d26 |
# operation for pausing. It is an error to call this command if no
|
|
|
383d26 |
-# operation is in progress. Pausing an already paused job has no cumulative
|
|
|
383d26 |
-# effect; a single block-job-resume command will resume the job.
|
|
|
383d26 |
+# operation is in progress or if the job is already paused.
|
|
|
383d26 |
#
|
|
|
383d26 |
# The operation will pause as soon as possible. No event is emitted when
|
|
|
383d26 |
# the operation is actually paused. Cancelling a paused job automatically
|
|
|
383d26 |
@@ -2363,7 +2362,7 @@
|
|
|
383d26 |
#
|
|
|
383d26 |
# This command returns immediately after resuming a paused background block
|
|
|
383d26 |
# operation. It is an error to call this command if no operation is in
|
|
|
383d26 |
-# progress. Resuming an already running job is not an error.
|
|
|
383d26 |
+# progress or if the job is not paused.
|
|
|
383d26 |
#
|
|
|
383d26 |
# This command also clears the error status of the job.
|
|
|
383d26 |
#
|
|
|
383d26 |
--
|
|
|
383d26 |
1.8.3.1
|
|
|
383d26 |
|