qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH RFC v3 30/32] qapi: New QMP command query-schema


From: Eric Blake
Subject: Re: [Qemu-devel] [PATCH RFC v3 30/32] qapi: New QMP command query-schema for QMP schema introspection
Date: Thu, 3 Sep 2015 08:31:01 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0

On 09/03/2015 03:26 AM, Markus Armbruster wrote:
>>
>> I think we need to be careful that these descriptions are not
>> interpreted by clients as an alternative to the more-specific
>> constraints in the QAPI schema though. 'query-schema' seems
>> a bit misleading in that regard, it appears to be more like
>> 'query-schema-encoding' in function. But not sure it's worth
>> renaming or anything so long as the documentation is clear.
> 
> You have a point: "schema" can mean two related, yet different things.
> There's the QAPI schema, and there's the QMP (the wire protocol) schema.
> QMP introspection is about the latter, not the former.
> 
> If we want to avoid the ambiguity, we could call the command
> query-qmp-schema or something.
> 
> Renaming query-schema now might confuse people coming from my KVM Forum
> talk slightly, but if we can agree on a better name, let's do it.

I'm okay if you want to use 'query-qmp-schema'; it's a bit longer, but
more precise, and doesn't cause too much grief to change the name at
this point in the game.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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