[libvirt] [Qemu-devel] [PATCH v3 16/17] qmp: Deprecate query-events in favor of query-qmp-schema

Markus Armbruster armbru at redhat.com
Thu Feb 7 13:46:41 UTC 2019


Peter Krempa <pkrempa at redhat.com> writes:

> On Wed, Feb 06, 2019 at 12:42:05 -0600, Eric Blake wrote:
>> Adding libvirt in cc
>> 
>> On 2/6/19 12:17 PM, Markus Armbruster wrote:
>> > query-events doesn't reflect compile-time configuration.  Instead of
>> > fixing that, deprecate the command in favor of query-qmp-schema.
>> > 
>> > Signed-off-by: Markus Armbruster <armbru at redhat.com>
>> > ---
>> >  monitor.c            | 5 +++++
>> >  qapi/misc.json       | 7 +++++--
>> >  qemu-deprecated.texi | 5 +++++
>> >  3 files changed, 15 insertions(+), 2 deletions(-)
>> 
>> Libvirt uses query-events; we'll need to patch libvirt to start relying
>> on query-qmp-schema before this deprecation cycle can complete (although
>> I'm in favor of making the change).
>
> Patches to use 'query-qmp-schema' output rather than 'query-events' in
> libvirt:
>
> https://www.redhat.com/archives/libvir-list/2019-February/msg00298.html
>
> You can start the deprecation clock.

Awesome!




More information about the libvir-list mailing list