jobs: minor doc fixups
cover jobs: minor doc fixups
One is from my manual completion series,
the other is from the recent refactor.
John Snow (2):
jobs: fix stale wording
jobs: fix verb references in docs
qapi/job.json | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-)
Signature · 1 line
2.14.3
PATCH 1/2 jobs: fix stale wording
During the design for manual completion, we decided not to use the "manual" property as a shorthand for both auto-dismiss and auto-finalize.
Fix the wording.
--- qapi/job.json | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-)
qapi/job.json +6 -5
@@ -50,16 +50,17 @@ # the last job in a transaction. # # @pending: The job has finished its work, but has finalization steps that it -# needs to make prior to completing. These changes may require -# manual intervention by the management process if manual was set -# to true. These changes may still fail. +# needs to make prior to completing. These changes will require +# manual intervention via @job-finalize if auto-finalize was set to +# false. These pending changes may still fail. # # @aborting: The job is in the process of being aborted, and will finish with # an error. The job will afterwards report that it is @concluded. # This status may not be visible to the management process. # -# @concluded: The job has finished all work. If manual was set to true, the job -# will remain in the query list until it is dismissed. +# @concluded: The job has finished all work. If auto-dismiss was set to false, +# the job will remain in the query list until it is dismissed via +# @job-dismiss. # # @null: The job is in the process of being dismantled. This state should not # ever be visible externally.
Signature · 1 line
2.14.3
PATCH 2/2 jobs: fix verb references in docs
In reply to John SnowThese point to the job versions now, not the blockjob versions which don't really exist anymore.
Except set-speed, which does. It sticks out like a sore thumb. This patch doesn't fix that, but it doesn't make it any worse, either.
--- qapi/job.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-)
qapi/job.json +6 -6
@@ -76,19 +76,19 @@ # # Represents command verbs that can be applied to a job. # -# @cancel: see @block-job-cancel +# @cancel: see @job-cancel # -# @pause: see @block-job-pause +# @pause: see @job-pause # -# @resume: see @block-job-resume +# @resume: see @job-resume # # @set-speed: see @block-job-set-speed # -# @complete: see @block-job-complete +# @complete: see @job-complete # -# @dismiss: see @block-job-dismiss +# @dismiss: see @job-dismiss # -# @finalize: see @block-job-finalize +# @finalize: see @job-finalize # # Since: 2.12 ##
Signature · 1 line
2.14.3
Quoted 2 lines · John Snow
One is from my manual completion series,
the other is from the recent refactor.
Re: [Qemu-devel] [PATCH 1/2] jobs: fix stale wording
In reply to John SnowQuoted 6 lines · John Snow
During the design for manual completion, we decided not to use the "manual" property as a shorthand for both auto-dismiss and auto-finalize.
Fix the wording.
Signed-off-by John Snow <[email protected]>
Quoted 34 lines
--- qapi/job.json | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-)qapi/job.json +6
-5@@ -50,16 +50,17 @@ # the last job in a transaction. # # @pending: The job has finished its work, but has finalization steps that it -# needs to make prior to completing. These changes may require -# manual intervention by the management process if manual was set -# to true. These changes may still fail. +# needs to make prior to completing. These changes will require +# manual intervention via @job-finalize if auto-finalize was set to +# false. These pending changes may still fail. # # @aborting: The job is in the process of being aborted, and will finish with # an error. The job will afterwards report that it is @concluded. # This status may not be visible to the management process. # -# @concluded: The job has finished all work. If manual was set to true, the job -# will remain in the query list until it is dismissed. +# @concluded: The job has finished all work. If auto-dismiss was set to false, +# the job will remain in the query list until it is dismissed via +# @job-dismiss. # # @null: The job is in the process of being dismantled. This state should not # ever be visible externally.Signature · 1 line
2.14.3
Re: [Qemu-devel] [PATCH 2/2] jobs: fix verb references in docs
In reply to John SnowQuoted 7 lines · John Snow
These point to the job versions now, not the blockjob versions which don't really exist anymore.
Except set-speed, which does. It sticks out like a sore thumb. This patch doesn't fix that, but it doesn't make it any worse, either.
Signed-off-by John Snow <[email protected]>
Quoted 37 lines
--- qapi/job.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-)qapi/job.json +6
-6@@ -76,19 +76,19 @@ # # Represents command verbs that can be applied to a job. # -# @cancel: see @block-job-cancel +# @cancel: see @job-cancel # -# @pause: see @block-job-pause +# @pause: see @job-pause # -# @resume: see @block-job-resume +# @resume: see @job-resume # # @set-speed: see @block-job-set-speed # -# @complete: see @block-job-complete +# @complete: see @job-complete # -# @dismiss: see @block-job-dismiss +# @dismiss: see @job-dismiss # -# @finalize: see @block-job-finalize +# @finalize: see @job-finalize # # Since: 2.12 ##Signature · 1 line
2.14.3
Kevin Wolf
AppliedAm 07.06.2018 um 01:02 hat John Snow geschrieben:
Quoted 2 lines
One is from my manual completion series,
the other is from the recent refactor.
Thanks, applied to the block branch.
Kevin