Am 12.11.2020 um 18:28 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-v1 > > Kevin Wolf (6): > qapi: Add interfaces for alias support to Visitor > qapi: Remember alias definitions in qobject-input-visitor > qapi: Simplify full_name_nth() in qobject-input-visitor > qapi: Apply aliases in qobject-input-visitor > qapi: Add support for aliases > tests/qapi-schema: Test cases for aliases
Ping.