[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 09/10] qapi: Inline and remove QERR_MIGRATION_ACTIVE definiti
From: |
Zhao Liu |
Subject: |
Re: [PATCH 09/10] qapi: Inline and remove QERR_MIGRATION_ACTIVE definition |
Date: |
Tue, 12 Mar 2024 23:21:50 +0800 |
On Tue, Mar 12, 2024 at 03:13:42PM +0100, Markus Armbruster wrote:
> Date: Tue, 12 Mar 2024 15:13:42 +0100
> From: Markus Armbruster <armbru@redhat.com>
> Subject: [PATCH 09/10] qapi: Inline and remove QERR_MIGRATION_ACTIVE
> definition
>
> From: Philippe Mathieu-Daudé <philmd@linaro.org>
>
> Address the comment added in commit 4629ed1e98
> ("qerror: Finally unused, clean up"), from 2015:
>
> /*
> * These macros will go away, please don't use
> * in new code, and do not add new ones!
> */
>
> Mechanical transformation using sed, manually
> removing the definition in include/qapi/qmp/qerror.h.
>
> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
> Reviewed-by: Juan Quintela <quintela@redhat.com>
> Signed-off-by: Markus Armbruster <armbru@redhat.com>
> ---
> include/qapi/qmp/qerror.h | 3 ---
> migration/migration.c | 2 +-
> migration/options.c | 4 ++--
> migration/savevm.c | 2 +-
> 4 files changed, 4 insertions(+), 7 deletions(-)
Reviewed-by: Zhao Liu <zhao1.liu@intel.com>
- Re: [PATCH 06/10] qapi: Inline QERR_INVALID_PARAMETER_TYPE definition (constant value), (continued)
- [PATCH 02/10] qapi: Inline and remove QERR_BUS_NO_HOTPLUG definition, Markus Armbruster, 2024/03/12
- [PATCH 04/10] qapi: Inline and remove QERR_DEVICE_NO_HOTPLUG definition, Markus Armbruster, 2024/03/12
- [PATCH 07/10] qapi: Inline and remove QERR_INVALID_PARAMETER_TYPE definition, Markus Armbruster, 2024/03/12
- [PATCH 10/10] qapi: Inline and remove QERR_PROPERTY_VALUE_BAD definition, Markus Armbruster, 2024/03/12
- [PATCH 09/10] qapi: Inline and remove QERR_MIGRATION_ACTIVE definition, Markus Armbruster, 2024/03/12
- Re: [PATCH 09/10] qapi: Inline and remove QERR_MIGRATION_ACTIVE definition,
Zhao Liu <=
- [PATCH 08/10] qapi: Correct error message for 'vcpu_dirty_limit' parameter, Markus Armbruster, 2024/03/12
[PATCH 05/10] qapi: Inline and remove QERR_INVALID_PARAMETER definition, Markus Armbruster, 2024/03/12
[PATCH 03/10] qapi: Inline and remove QERR_DEVICE_HAS_NO_MEDIUM definition, Markus Armbruster, 2024/03/12
Re: [PATCH 00/10] Reduce usage of QERR_ macros further, Markus Armbruster, 2024/03/18