Re: [PATCH 14/27] qapi migration: Elide redundant has_FOO in generated C

2022-09-22 Thread Markus Armbruster
Philippe Mathieu-Daudé writes: > On Thu, Sep 15, 2022 at 10:52 PM Markus Armbruster wrote: >> >> The has_FOO for pointer-valued FOO are redundant, except for arrays. >> They are also a nuisance to work with. Recent commit "qapi: Start to >> elide redundant has_FOO in generated C" provided the m

Re: [PATCH 14/27] qapi migration: Elide redundant has_FOO in generated C

2022-09-22 Thread Philippe Mathieu-Daudé via
On Thu, Sep 15, 2022 at 10:52 PM Markus Armbruster wrote: > > The has_FOO for pointer-valued FOO are redundant, except for arrays. > They are also a nuisance to work with. Recent commit "qapi: Start to > elide redundant has_FOO in generated C" provided the means to elide > them step by step. Thi

Re: [PATCH 14/27] qapi migration: Elide redundant has_FOO in generated C

2022-09-22 Thread Daniel P . Berrangé
On Thu, Sep 22, 2022 at 12:28:55PM +0100, Dr. David Alan Gilbert wrote: > * Markus Armbruster (arm...@redhat.com) wrote: > > The has_FOO for pointer-valued FOO are redundant, except for arrays. > > They are also a nuisance to work with. Recent commit "qapi: Start to > > elide redundant has_FOO in

Re: [PATCH 14/27] qapi migration: Elide redundant has_FOO in generated C

2022-09-22 Thread Dr. David Alan Gilbert
* Markus Armbruster (arm...@redhat.com) wrote: > The has_FOO for pointer-valued FOO are redundant, except for arrays. > They are also a nuisance to work with. Recent commit "qapi: Start to > elide redundant has_FOO in generated C" provided the means to elide > them step by step. This is the step

[PATCH 14/27] qapi migration: Elide redundant has_FOO in generated C

2022-09-15 Thread Markus Armbruster
The has_FOO for pointer-valued FOO are redundant, except for arrays. They are also a nuisance to work with. Recent commit "qapi: Start to elide redundant has_FOO in generated C" provided the means to elide them step by step. This is the step for qapi/migration.json. Said commit explains the tran