[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v7 01/28] hw: apply accel compat properties with
From: |
Cornelia Huck |
Subject: |
Re: [Qemu-devel] [PATCH v7 01/28] hw: apply accel compat properties without touching globals |
Date: |
Fri, 21 Dec 2018 12:58:15 +0100 |
On Fri, 21 Dec 2018 13:03:43 +0400
Marc-André Lureau <address@hidden> wrote:
> Instead of registering compat properties as globals, let's keep them
> in their own array, to avoid mixing with user globals.
>
> Introduce object_apply_global_props() function, to apply compatibility
> properties from a GPtrArray.
>
> Signed-off-by: Marc-André Lureau <address@hidden>
> Reviewed-by: Igor Mammedov <address@hidden>
> ---
> include/hw/qdev-core.h | 10 ++++++++++
> include/qom/object.h | 3 +++
> include/sysemu/accel.h | 4 +---
> accel/accel.c | 12 ------------
> hw/core/qdev.c | 9 +++++++++
> hw/xen/xen-common.c | 9 ++++++---
> qom/object.c | 25 +++++++++++++++++++++++++
> vl.c | 1 -
> 8 files changed, 54 insertions(+), 19 deletions(-)
Reviewed-by: Cornelia Huck <address@hidden>
- [Qemu-devel] [PATCH v7 03/28] hw: apply machine compat properties without touching globals, (continued)
- [Qemu-devel] [PATCH v7 03/28] hw: apply machine compat properties without touching globals, Marc-André Lureau, 2018/12/21
- [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
- Re: [Qemu-devel] [PATCH v7 01/28] hw: apply accel compat properties without touching globals,
Cornelia Huck <=
- [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