qemu-block
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-block] [PATCH v2 34/40] job: Introduce qapi/job.json


From: Eric Blake
Subject: Re: [Qemu-block] [PATCH v2 34/40] job: Introduce qapi/job.json
Date: Thu, 31 May 2018 16:21:21 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0

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 <address@hidden>
---
  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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]