Re: [PATCH v3 5/6] qapi: Add support for aliases

2021-09-16 Thread Markus Armbruster
Kevin Wolf writes: > Introduce alias definitions for object types (structs and unions). This > allows using the same QAPI type and visitor for many syntax variations > that exist in the external representation, like between QMP and the > command line. It also provides a new tool for evolving the

Re: [PATCH v3 5/6] qapi: Add support for aliases

2021-09-14 Thread Kevin Wolf
Am 14.09.2021 um 10:42 hat Markus Armbruster geschrieben: > >> It also provides a new tool for evolving the schema while maintaining > >> backwards compatibility (possibly during a deprecation period). > >> > >> For the second use, we need to be able to tack feature 'deprecated' to > >> ex

Re: [PATCH v3 5/6] qapi: Add support for aliases

2021-09-14 Thread Markus Armbruster
Markus Armbruster writes: > Kevin Wolf writes: > >> Am 06.09.2021 um 17:24 hat Markus Armbruster geschrieben: >>> Kevin Wolf writes: >>> >>> > Introduce alias definitions for object types (structs and unions). This >>> > allows using the same QAPI type and visitor for many syntax variations >>

Re: [PATCH v3 5/6] qapi: Add support for aliases

2021-09-14 Thread Markus Armbruster
Kevin Wolf writes: > Am 06.09.2021 um 17:24 hat Markus Armbruster geschrieben: >> Kevin Wolf writes: >> >> > Introduce alias definitions for object types (structs and unions). This >> > allows using the same QAPI type and visitor for many syntax variations >> > that exist in the external repres

Re: [PATCH v3 5/6] qapi: Add support for aliases

2021-09-09 Thread Kevin Wolf
Am 06.09.2021 um 17:24 hat Markus Armbruster geschrieben: > Kevin Wolf writes: > > > Introduce alias definitions for object types (structs and unions). This > > allows using the same QAPI type and visitor for many syntax variations > > that exist in the external representation, like between QMP a

Re: [PATCH v3 5/6] qapi: Add support for aliases

2021-09-06 Thread Markus Armbruster
Kevin Wolf writes: > Introduce alias definitions for object types (structs and unions). This > allows using the same QAPI type and visitor for many syntax variations > that exist in the external representation, like between QMP and the > command line. It also provides a new tool for evolving the

[PATCH v3 5/6] qapi: Add support for aliases

2021-08-12 Thread Kevin Wolf
Introduce alias definitions for object types (structs and unions). This allows using the same QAPI type and visitor for many syntax variations that exist in the external representation, like between QMP and the command line. It also provides a new tool for evolving the schema while maintaining back