[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 00/22] qapi: Kill 'qapi/qmp/qerror.h' for good
From: |
Markus Armbruster |
Subject: |
Re: [PATCH v2 00/22] qapi: Kill 'qapi/qmp/qerror.h' for good |
Date: |
Thu, 05 Oct 2023 11:26:32 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) |
Philippe Mathieu-Daudé <philmd@linaro.org> writes:
> Since v1:
> - Fixed checkpatch warnings (Juan)
> - Added R-b tags
> - New patch for 'vcpu_dirty_limit'
>
> Hi,
>
> This is kind of a selfish series. I'm really tired to grep
> and read this comment from 2015 in qapi/qmp/qerror.h:
> /*
> * These macros will go away, please don't use
> * in new code, and do not add new ones!
> */
>
> Besides, these definitions are still added in recent code
> (see for example commit 09f9ec9913 from June 2023). So
> let's finish with this 8 years old technical debt.
Gee, a late birthday present for me! Thank you!
> Overall it took me 3h: 1h to find the correct Coccinelle
> doc about Python use and read it again [*], then 1h to
> adapt the script for each patch, rest is testing and
> writing comments, so the scripts used could be used as
> reference later.
By the time you're done, it'll likely be 6h or more...
- Re: [PATCH v2 18/22] qapi: Inline and remove QERR_PROPERTY_VALUE_BAD definition, (continued)
- [RFC PATCH v2 21/22] qapi: Inline and remove QERR_UNSUPPORTED definition, Philippe Mathieu-Daudé, 2023/10/05
- [PATCH v2 16/22] qapi: Inline QERR_MISSING_PARAMETER definition (constant parameter), Philippe Mathieu-Daudé, 2023/10/05
- [PATCH v2 20/22] qapi: Inline and remove QERR_QGA_COMMAND_FAILED definition, Philippe Mathieu-Daudé, 2023/10/05
- [PATCH v2 22/22] qapi: Remove 'qapi/qmp/qerror.h' header, Philippe Mathieu-Daudé, 2023/10/05
- Re: [PATCH v2 00/22] qapi: Kill 'qapi/qmp/qerror.h' for good,
Markus Armbruster <=
- Re: [PATCH v2 00/22] qapi: Kill 'qapi/qmp/qerror.h' for good, Markus Armbruster, 2023/10/20