[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v5 1/8] qemu-options: New -compat to set policy for deprecate
From: |
Richard W.M. Jones |
Subject: |
Re: [PATCH v5 1/8] qemu-options: New -compat to set policy for deprecated interfaces |
Date: |
Mon, 21 Sep 2020 13:01:54 +0100 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Mon, Sep 14, 2020 at 10:08:50AM -0500, Eric Blake wrote:
> On 9/14/20 3:47 AM, Markus Armbruster wrote:
> >Policy is separate for input and output.
> >
> >Input policy can be "accept" (accept silently), or "reject" (reject
> >the request with an error).
> >
> >Output policy can be "accept" (pass on unchanged), or "hide" (filter
> >out the deprecated parts).
> >
> >Default is "accept". Policies other than "accept" are implemented
> >later in this series.
> >
> >For now, -compat covers only syntactic aspects of QMP, i.e. stuff
> >tagged with feature 'deprecated'. We may want to extend it to cover
> >semantic aspects, CLI, and experimental features.
> >
> >The option is experimental.
> >
> >Signed-off-by: Markus Armbruster <armbru@redhat.com>
> >---
>
> Reviewed-by: Eric Blake <eblake@redhat.com>
>
> But as Peter points out, where is the introspection for whether this
> command line argument exists?
FWIW libguestfs still tests some qemu features by grepping -help
output. That's actually what I'm intending to do with this one, at
least for now.
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
Fedora Windows cross-compiler. Compile Windows programs, test, and
build Windows installers. Over 100 libraries supported.
http://fedoraproject.org/wiki/MinGW
- Re: [PATCH v5 3/8] qapi: Implement deprecated-output=hide for QMP events, (continued)
- [PATCH v5 6/8] qapi: Implement deprecated-input=reject for QMP commands, Markus Armbruster, 2020/09/14
- [PATCH v5 5/8] qapi: Implement deprecated-output=hide for QMP introspection, Markus Armbruster, 2020/09/14
- [PATCH v5 1/8] qemu-options: New -compat to set policy for deprecated interfaces, Markus Armbruster, 2020/09/14
- [PATCH v5 8/8] qapi: New -compat deprecated-input=crash, Markus Armbruster, 2020/09/14
- [PATCH v5 7/8] qapi: Implement deprecated-input=reject for QMP command arguments, Markus Armbruster, 2020/09/14
- [PATCH v5 2/8] qapi: Implement deprecated-output=hide for QMP command results, Markus Armbruster, 2020/09/14
- Re: [PATCH v5 0/8] Configurable policy for handling deprecated interfaces, Richard W.M. Jones, 2020/09/21
- Re: [PATCH v5 0/8] Configurable policy for handling deprecated interfaces, Peter Maydell, 2020/09/21