[PATCH v3 0/7] introduce job-change qmp command

Vladimir Sementsov-Ogievskiy posted 7 patches 1 month, 3 weeks ago
block/mirror.c                                | 13 +++++---
blockdev.c                                    |  4 +--
blockjob.c                                    | 20 ------------
docs/about/deprecated.rst                     |  5 +++
include/block/blockjob.h                      | 11 -------
include/block/blockjob_int.h                  |  7 -----
include/qemu/job.h                            | 12 +++++++
job-qmp.c                                     | 15 +++++++++
job.c                                         | 23 ++++++++++++++
qapi/block-core.json                          | 31 ++++++++++++++-----
.../tests/mirror-change-copy-mode             |  2 +-
11 files changed, 90 insertions(+), 53 deletions(-)
[PATCH v3 0/7] introduce job-change qmp command
Posted by Vladimir Sementsov-Ogievskiy 1 month, 3 weeks ago
Hi all!

Here is new job-change command - a replacement for (becoming deprecated)
block-job-change, as a first step of my "[RFC 00/15] block job API"

v3:
01: add a-b by Markus
03: add a-b by Markus, s/9.1/9.2/ in QAPI
05: update commit message, s/9.1/9.2/ in QAPI
06: update commit message (and subject!), s/9.1/9.2/ in deprecated.rst

Vladimir Sementsov-Ogievskiy (7):
  qapi: rename BlockJobChangeOptions to JobChangeOptions
  blockjob: block_job_change_locked(): check job type
  qapi: block-job-change: make copy-mode parameter optional
  blockjob: move change action implementation to job from block-job
  qapi: add job-change
  qapi/block-core: deprecate block-job-change
  iotests/mirror-change-copy-mode: switch to job-change command

 block/mirror.c                                | 13 +++++---
 blockdev.c                                    |  4 +--
 blockjob.c                                    | 20 ------------
 docs/about/deprecated.rst                     |  5 +++
 include/block/blockjob.h                      | 11 -------
 include/block/blockjob_int.h                  |  7 -----
 include/qemu/job.h                            | 12 +++++++
 job-qmp.c                                     | 15 +++++++++
 job.c                                         | 23 ++++++++++++++
 qapi/block-core.json                          | 31 ++++++++++++++-----
 .../tests/mirror-change-copy-mode             |  2 +-
 11 files changed, 90 insertions(+), 53 deletions(-)

-- 
2.34.1