On 05/18/2018 08:21 AM, Kevin Wolf wrote:
This adds a separate schema file for all job-related definitions that
aren't tied to the block layer.
For a start, move the enums JobType, JobStatus and JobVerb.
Signed-off-by: Kevin Wolf <kw...@redhat.com>
---
qapi/block-core.json | 90 +-----------------------------------------------
qapi/job.json | 94 +++++++++++++++++++++++++++++++++++++++++++++++++++
qapi/qapi-schema.json | 1 +
Makefile | 9 +++++
Makefile.objs | 4 +++
5 files changed, 109 insertions(+), 89 deletions(-)
create mode 100644 qapi/job.json
This commit now results in a dirty 'git status' for in-tree builds:
qapi/qapi-commands-job.c
qapi/qapi-commands-job.h
qapi/qapi-events-job.c
qapi/qapi-events-job.h
qapi/qapi-types-job.c
qapi/qapi-types-job.h
qapi/qapi-visit-job.c
qapi/qapi-visit-job.h
I'll propose a cleanup patch.
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3266
Virtualization: qemu.org | libvirt.org