Am 02.10.2024 um 16:06 hat Vladimir Sementsov-Ogievskiy geschrieben: > Add a new-style command job-change, doing same thing as > block-job-change. The aim is finally deprecate block-job-* APIs and > move to job-* APIs. > > We add a new command to qapi/block-core.json, not to > qapi/job.json to avoid resolving json file including loops for now. > This all would be a lot simple to refactor when we finally drop > deprecated block-job-* APIs. > > Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@xxxxxxxxxxxxxx> > --- > job-qmp.c | 14 ++++++++++++++ > qapi/block-core.json | 10 ++++++++++ > 2 files changed, 24 insertions(+) > diff --git a/qapi/block-core.json b/qapi/block-core.json > index f370593037..e314734b53 100644 > --- a/qapi/block-core.json > +++ b/qapi/block-core.json > @@ -3105,6 +3105,16 @@ > { 'command': 'block-job-change', > 'data': 'JobChangeOptions', 'boxed': true } > > +## > +# @job-change: > +# > +# Change the block job's options. s/block job/job/ > +# > +# Since: 9.2 > +## > +{ 'command': 'job-change', > + 'data': 'JobChangeOptions', 'boxed': true } Kevin