qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH for-3.0] qapi: Make 'allow-oob' optional in Sche


From: Eric Blake
Subject: Re: [Qemu-devel] [PATCH for-3.0] qapi: Make 'allow-oob' optional in SchemaInfoCommand
Date: Mon, 23 Jul 2018 10:14:12 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0

On 07/18/2018 04:05 AM, Markus Armbruster wrote:
Making 'allow-oob' optional in SchemaInfoCommand permits omitting it
in the common case.  Shrinks query-qmp-schema's output from 122.1KiB
to 118.6KiB for me.

Note that out-of-band execution is still experimental (you have to
configure the monitor with x-oob=on to use it).

Signed-off-by: Markus Armbruster <address@hidden>
---

I see you have already posted the pull request, but the idea makes sense to me. In general, making what was previously always output now be optional can risk confusing a client that depends on the value being present; but since allow-oob has not always been present, and since it is still gated by x-oob=on, any sane client using OOB can easily be coded to treat an absent indication as not allowing oob for that particular command.

--
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3266
Virtualization:  qemu.org | libvirt.org



reply via email to

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