]> git.proxmox.com Git - mirror_qemu.git/commit
hw: apply accel compat properties without touching globals
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Mon, 26 Nov 2018 18:04:32 +0000 (22:04 +0400)
committerMarc-André Lureau <marcandre.lureau@redhat.com>
Mon, 7 Jan 2019 12:18:41 +0000 (16:18 +0400)
commitea9ce8934c5d2cc8925359a6d8d45eb829a9f27f
tree927bdc1c7297f53a40ea456884ebde99e60c39c3
parente59dbbac0364344a3ad84c3497a98c56003d3fb8
hw: apply accel compat properties without touching globals

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 <marcandre.lureau@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Acked-by: Eduardo Habkost <ehabkost@redhat.com>
accel/accel.c
hw/core/qdev.c
hw/xen/xen-common.c
include/hw/qdev-core.h
include/qom/object.h
include/sysemu/accel.h
qom/object.c
vl.c