[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v4 0/8] qapi: Add support for aliases
From: |
Kevin Wolf |
Subject: |
Re: [PATCH v4 0/8] qapi: Add support for aliases |
Date: |
Fri, 1 Oct 2021 11:28:01 +0200 |
Am 17.09.2021 um 18:13 hat Kevin Wolf geschrieben:
> This series introduces alias definitions for QAPI object types (structs
> and unions).
>
> This allows using the same QAPI type and visitor even when the syntax
> has some variations between different external interfaces such as QMP
> and the command line.
>
> It also provides a new tool for evolving the schema while maintaining
> backwards compatibility (possibly during a deprecation period).
>
> The first user is intended to be a QAPIfied -chardev command line
> option, for which I'll send a separate series. A git tag is available
> that contains both this series and the chardev changes that make use of
> it:
>
> https://repo.or.cz/qemu/kevin.git qapi-alias-chardev-v4
>
> v4:
> - Make sure to keep a defined order of aliases in StackObject.aliases
> - Added patch 4 to allow for better error messages when wildcard aliases
> provide a second value for a member, which may or may not be consumed
> elsewhere.
> - Resolve chained aliases only once instead of just checking that they
> can be resolved while looking for matching aliases, and actually
> resolving them at the end. This is not only a code simplification, but
> actually necessary for correct error messages on conflicts.
> - Separate schema.py cleanup patch by Markus ('qapi: Revert an
> accidental change from list to view object')
> - Fixed alias name checks in the QAPI generator
> - Changed check_path() to avoid modifying its 'path' parameter
> - Some more test cases
> - Coding style fixes
> - Documentation improvements
ping
- Re: [PATCH v4 0/8] qapi: Add support for aliases,
Kevin Wolf <=