[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v7 05/28] hw: remove SET_MACHINE_COMPAT
From: |
Igor Mammedov |
Subject: |
Re: [Qemu-devel] [PATCH v7 05/28] hw: remove SET_MACHINE_COMPAT |
Date: |
Fri, 21 Dec 2018 15:22:44 +0100 |
On Fri, 21 Dec 2018 13:03:47 +0400
Marc-André Lureau <address@hidden> wrote:
> No longer needed.
>
> Signed-off-by: Marc-André Lureau <address@hidden>
Reviewed-by: Igor Mammedov <address@hidden>
> ---
> include/hw/boards.h | 12 ------------
> 1 file changed, 12 deletions(-)
>
> diff --git a/include/hw/boards.h b/include/hw/boards.h
> index f02d5a1bbd..f743d9d4a4 100644
> --- a/include/hw/boards.h
> +++ b/include/hw/boards.h
> @@ -287,16 +287,4 @@ struct MachineState {
> } \
> type_init(machine_initfn##_register_types)
>
> -#define SET_MACHINE_COMPAT(m, compat) \
> - do { \
> - int i; \
> - if (!m->compat_props) { \
> - m->compat_props = g_array_new(false, false, sizeof(void *)); \
> - } \
> - for (i = 0; i < G_N_ELEMENTS(compat); i++) { \
> - GlobalProperty *prop = &compat[i]; \
> - g_array_append_val(m->compat_props, prop); \
> - } \
> - } while (0)
> -
> #endif
- [Qemu-devel] [PATCH v7 02/28] machines: replace COMPAT define with a static array, (continued)
- [Qemu-devel] [PATCH v7 02/28] machines: replace COMPAT define with a static array, Marc-André Lureau, 2018/12/21
- [Qemu-devel] [PATCH v7 04/28] machine: move compat properties out of globals, Marc-André Lureau, 2018/12/21
- [Qemu-devel] [PATCH v7 01/28] hw: apply accel compat properties without touching globals, Marc-André Lureau, 2018/12/21
- [Qemu-devel] [PATCH v7 05/28] hw: remove SET_MACHINE_COMPAT, Marc-André Lureau, 2018/12/21
- [Qemu-devel] [PATCH v7 06/28] compat: replace PC_COMPAT_3_1 & HW_COMPAT_3_1 macros, Marc-André Lureau, 2018/12/21
- [Qemu-devel] [PATCH v7 07/28] compat: replace PC_COMPAT_3_0 & HW_COMPAT_3_0 macros, Marc-André Lureau, 2018/12/21
- [Qemu-devel] [PATCH v7 08/28] compat: replace PC_COMPAT_2_12 & HW_COMPAT_2_12 macros, Marc-André Lureau, 2018/12/21
- [Qemu-devel] [PATCH v7 09/28] compat: replace PC_COMPAT_2_11 & HW_COMPAT_2_11 macros, Marc-André Lureau, 2018/12/21