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

2021-02-10 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 5/6] qapi: Add support for aliases

2021-02-10 Thread Markus Armbruster
Kevin Wolf writes: > Am 10.02.2021 um 10:17 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 5/6] qapi: Add support for aliases

2021-02-10 Thread Kevin Wolf
Am 10.02.2021 um 10:17 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 5/6] qapi: Add support for aliases

2021-02-10 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 5/6] qapi: Add support for aliases

2020-11-20 Thread Daniel P . Berrangé
On Fri, Nov 20, 2020 at 03:41:54PM +0100, Peter Krempa wrote: > On Fri, Nov 13, 2020 at 10:46:02 +0100, Kevin Wolf wrote: > > Am 12.11.2020 um 19:34 hat Eric Blake geschrieben: > > > On 11/12/20 11:28 AM, Kevin Wolf wrote: > > > > Introduce alias definitions for object types (structs and unions). T

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

2020-11-20 Thread Peter Krempa
On Fri, Nov 13, 2020 at 10:46:02 +0100, Kevin Wolf wrote: > Am 12.11.2020 um 19:34 hat Eric Blake geschrieben: > > On 11/12/20 11:28 AM, Kevin Wolf wrote: > > > Introduce alias definitions for object types (structs and unions). This > > > allows using the same QAPI type and visitor for many syntax

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

2020-11-13 Thread Kevin Wolf
Am 12.11.2020 um 19:34 hat Eric Blake geschrieben: > On 11/12/20 11:28 AM, Kevin Wolf wrote: > > 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 bet

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

2020-11-12 Thread Eric Blake
On 11/12/20 11:28 AM, Kevin Wolf wrote: > 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 too

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

2020-11-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