qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] full introspection support for QMP


From: Eric Blake
Subject: Re: [Qemu-devel] [PATCH] full introspection support for QMP
Date: Tue, 02 Jul 2013 14:08:39 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130625 Thunderbird/17.0.7

On 07/02/2013 02:00 PM, Paolo Bonzini wrote:
> Il 02/07/2013 20:21, Anthony Liguori ha scritto:
>>>>
>>>> Indeed, I wouldn't mind a one-time pass over qapi-schema.json to make it
>>>> follow a more rigid format if that made it easier to use it as-is with
>>>> less post-processing.  It won't be very nice to backport such a
>>>> conversion, but I don't know how much distros are planning on
>>>> backporting introspection in the first place.
>> We consume the schema in QEMU.  No reason for us to consume it in a
>> different format than libvirt.
> 
> One reason could be that qapi-schema.json, as written, lacks a schema
> that can be expressed itself using QAPI.

Indeed - it was my attempt to write a structured set of QAPI that led to
the more rigid and more verbose layout, rather than shorthand.  On the
other hand, there's nothing stopping us from stating that QAPI itself
can be extended to express new concepts (after all, we want to express
the full structure of events as part of qapi-schema.json someday); we
even have the 'qmp_capabilities' handshake to advertise whether use of
such extensions will be understood by the client.

-- 
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]