Paolo Bonzini <pbonz...@redhat.com> writes: > 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.
Yup, but how much does that matter in practice? At any rate, if we wanted to solve this problem--a self-describing schema--we should do it in qapi-schema.json too. Regards, Anthony Liguori > > Paolo