]> git.proxmox.com Git - mirror_qemu.git/commit
accel: register global_props like machine globals
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Tue, 4 Dec 2018 14:20:08 +0000 (18:20 +0400)
committerEduardo Habkost <ehabkost@redhat.com>
Tue, 11 Dec 2018 17:45:22 +0000 (15:45 -0200)
commit745a4f5ed7e4aabeddddcb0e5c1687a0128e68d7
treebf8668e236a7de9e0576fbb3f9b09dbadb351726
parent3650b2de3418daf38960a1d87f6ce1f1bf80183c
accel: register global_props like machine globals

global_props is only used for Xen xen_compat_props. It's a static
array of GlobalProperty, like machine globals in SET_MACHINE_COMPAT().
Let's register the globals the same way, without extra copy allocation.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Message-Id: <20181204142023.15982-5-marcandre.lureau@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
accel/accel.c
hw/core/qdev-properties.c
include/hw/qdev-properties.h