[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 04/10] qapi: Inline and remove QERR_DEVICE_NO_HOTPLUG definit
From: |
Zhao Liu |
Subject: |
Re: [PATCH 04/10] qapi: Inline and remove QERR_DEVICE_NO_HOTPLUG definition |
Date: |
Tue, 12 Mar 2024 23:11:58 +0800 |
On Tue, Mar 12, 2024 at 03:13:37PM +0100, Markus Armbruster wrote:
> Date: Tue, 12 Mar 2024 15:13:37 +0100
> From: Markus Armbruster <armbru@redhat.com>
> Subject: [PATCH 04/10] qapi: Inline and remove QERR_DEVICE_NO_HOTPLUG
> 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, and manual cleanup.
>
> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
> Signed-off-by: Markus Armbruster <armbru@redhat.com>
> ---
> include/qapi/qmp/qerror.h | 3 ---
> hw/core/qdev.c | 4 ++--
> system/qdev-monitor.c | 2 +-
> 3 files changed, 3 insertions(+), 6 deletions(-)
Reviewed-by: Zhao Liu <zhao1.liu@intel.com>
- [PATCH 00/10] Reduce usage of QERR_ macros further, Markus Armbruster, 2024/03/12
- [PATCH 01/10] error: Drop superfluous #include "qapi/qmp/qerror.h", Markus Armbruster, 2024/03/12
- [PATCH 06/10] qapi: Inline QERR_INVALID_PARAMETER_TYPE definition (constant value), Markus Armbruster, 2024/03/12
- [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
- Re: [PATCH 04/10] qapi: Inline and remove QERR_DEVICE_NO_HOTPLUG definition,
Zhao Liu <=
- [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
- [PATCH 08/10] qapi: Correct error message for 'vcpu_dirty_limit' parameter, Markus Armbruster, 2024/03/12