qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v2 1/2] qapi: Rename QMP and QGA schema files


From: Markus Armbruster
Subject: Re: [Qemu-devel] [PATCH v2 1/2] qapi: Rename QMP and QGA schema files
Date: Fri, 20 Apr 2018 10:01:24 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)

Eric Blake <address@hidden> writes:

> Having two files in the tree both named qapi-schema.json just adds
> confusion.  Rename these files to {qmp,qga}-schema to make it
> obvious which schema is in effect, and relocate qga into the common
> qapi/ subdirectory.  Update all build rules that refer to the file
> names, and adjust other documentation and comment references that
> need to refer to the new file names.
>
> Maintainer-wise, this means that qapi/qga-schema.json continues
> to belong to Michael as QGA maintainer, but now also notifies
> Markus and Eric as QAPI maintainers, alongside all the other
> QMP QAPI files, matching how other .json QAPI modules belong
> to multiple maintainer blurbs.  Also, fix a stale reference to
> a file removed in commit eb815e248f.
>
> Signed-off-by: Eric Blake <address@hidden>

We have three separate things: QAPI infrastructure, its use in QEMU
proper, and its use in QGA.  We keep the former two in qapi/, and the
latter in qga/.

Giving the two qapi-schema.json different names is fine with me.
qga-schema.json is an obvious choice.  qmp-schema.json less so, because
it's actually used for more than just QMP now.  qemu-schema.json?  Or
just keep the old name?

Splitting qapi/ into infrastructure and use now doesn't seem to be worth
the bother.  I'd prefer to keep the use for QGA separate, though.  The
case for moving them together would be stronger if they shared schema
parts.  Matter of taste, I guess, and that means it's up to the QGA
maintainer.  Michael?

If we decide to keep them separate, but still want MAINTAINERS' QAPI
Schema stanza to cover QGA, that's a one-liner.



reply via email to

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