Re: [PATCH 04/22] qapi: Convert simple union InputEvent to flat one

2021-09-14 Thread Gerd Hoffmann
On Mon, Sep 13, 2021 at 02:39:14PM +0200, Markus Armbruster wrote: > Simple unions predate flat unions. Having both complicates the QAPI > schema language and the QAPI generator. We haven't been using simple > unions in new code for a long time, because they are less flexible and > somewhat

Re: [PATCH 04/22] qapi: Convert simple union InputEvent to flat one

2021-09-13 Thread Markus Armbruster
Eric Blake writes: > On Mon, Sep 13, 2021 at 02:39:14PM +0200, Markus Armbruster wrote: >> Simple unions predate flat unions. Having both complicates the QAPI >> schema language and the QAPI generator. We haven't been using simple >> unions in new code for a long time, because they are less

Re: [PATCH 04/22] qapi: Convert simple union InputEvent to flat one

2021-09-13 Thread Eric Blake
On Mon, Sep 13, 2021 at 02:39:14PM +0200, Markus Armbruster wrote: > Simple unions predate flat unions. Having both complicates the QAPI > schema language and the QAPI generator. We haven't been using simple > unions in new code for a long time, because they are less flexible and > somewhat

[PATCH 04/22] qapi: Convert simple union InputEvent to flat one

2021-09-13 Thread Markus Armbruster
Simple unions predate flat unions. Having both complicates the QAPI schema language and the QAPI generator. We haven't been using simple unions in new code for a long time, because they are less flexible and somewhat awkward on the wire. To prepare for their removal, convert simple union